Improve variable resolution order on window
https://bugs.webkit.org/show_bug.cgi?id=75575
Summary Improve variable resolution order on window
Ojan Vafai
Reported 2012-01-04 14:19:38 PST
WebKit's variable resolution order on window has caused a number of bugs for the Closure Compiler. See http://code.google.com/p/chromium/issues/detail?id=80591 for more details of the case that keeps biting them. Also see http://lists.w3.org/Archives/Public/public-webapps/2011AprJun/0389.html and http://lists.w3.org/Archives/Public/public-script-coord/2012JanMar/0010.html for discussion on standardizing this. The discussion is not quite done, but it seems likely the WebKit/JSC/V8 will need to change.
Attachments
Greg Simon
Comment 1 2012-01-17 11:27:13 PST
I looked at a CL for this bug and yes it does require a v8 change for v8-based webkit browsers.
Ojan Vafai
Comment 2 2012-01-27 15:48:47 PST
Erik Arvidsson
Comment 3 2012-04-24 16:35:29 PDT
V8 has fixed this (behind a flag) but since all WebIDL attributes are implemented as own properties on the global object we need to fix bug 49739 to get non configurable properties to work correctly.
Erik Arvidsson
Comment 4 2012-04-25 14:59:33 PDT
Erik Arvidsson
Comment 5 2012-08-22 06:32:45 PDT
Chrome is now shipping with this behavior.
Note You need to log in before you can comment on or make changes to this bug.