Comment #6 on issue 4334 by [email protected]: API: Should
CreateDataProperty overwrite accessors, or call them?
https://code.google.com/p/v8/issues/detail?id=4334
Chatted with Jakob offline.
It seems that the problem is that window.innerWidth is still using a
data-type property. Once we make it an accessor-type property,
info.Holder()->CreateDataProperty() will just work as expected. In other
words, the following behavior will be realized.
window.innerWidth; // 1366
window.innerWidth = 30;
window.innerWidth; // 30
delete window.innerWidth;
window.innerWidth; // undefined
If that is the case, our plan would be:
1) Wait for you to come back :)
2) Fix the two V8-side issues to make Window's attributes accessor-type
properties (i.e., support ALL_CAN_READ in accessor-type properties & expose
a way to hook the getter/setter of accessor-type properties).
3) Make Window's attributes accessor-type properties.
4) Fix the behavior of [Replaceable] attributes.
Does this sound good?
--
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.