Status: Accepted
Owner: [email protected]
CC: [email protected], [email protected], [email protected], [email protected]
Labels: Type-Bug Priority-Medium Harmony

New issue 3745 by [email protected]: Object.observe should not get notifications about changes to accessor properties
https://code.google.com/p/v8/issues/detail?id=3745

Yet it does, when those calls go through JSObject::SetOwnPropertyIgnoreAttributes:



var div = document.createElement('div')
Object.observe(div, function(r) { console.log(r.length) })

// Doesn't trigger a callback
div.onclick = function() {}

// Triggers a callback
Object.defineProperty(div, 'onclick', { value: function() {} })



From what I can tell this behavior was introduced in https://code.google.com/p/v8/source/detail?r=23163.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to