Comment #3 on issue 4334 by [email protected]: API: Should
CreateDataProperty overwrite accessors, or call them?
https://code.google.com/p/v8/issues/detail?id=4334
I wasn't expecting that I can get a reply from you :)
We want to make the following change.
(Current behavior)
window.innerWidth; // 1366
window.innerWidth = 30;
window.innerWidth; // 30
delete window.innerWidth;
window.innerWidth; // 1366
(Expected behavior)
window.innerWidth; // 1366
window.innerWidth = 30;
window.innerWidth; // 30
delete window.innerWidth;
window.innerWidth; // undefined
Currently the original innerWidth is shadowed by the replaced innerWidth.
However, per the spec, the original innerWidth needs to be overwritten by
the replaced innerWidth (if I'm reading the spec correctly).
(BTW, Firefox is doing a wrong thing here. Even if we run 'innerWidth =
30', the original innerWidth is neither replaced nor overwritten.)
--
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.