https://codereview.chromium.org/11362115/diff/1/src/objects.cc
File src/objects.cc (right):

https://codereview.chromium.org/11362115/diff/1/src/objects.cc#newcode2911
src/objects.cc:2911: case INTERCEPTOR:
Asking for oldValues for interceptors (or in fact even notifying about
changes to intercepted properties) is going to be a little surprising
(though possibly useful). I didn't notice that the last change handled
this. I believe this means that

Object.observe(document.body.style, ...)
document.body.style.background = 'something'

will emit a record that includes the old value of background.  But of
course we won't be notified of any style changes that happen outside of
script. Is this really what we want?

https://codereview.chromium.org/11362115/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to