RESOLVED DUPLICATE of bug 6249 6395
Activation objects should not have __proto__ property
https://bugs.webkit.org/show_bug.cgi?id=6395
Summary Activation objects should not have __proto__ property
Maciej Stachowiak
Reported 2006-01-05 23:13:16 PST
Activation objects (the objects that provide local scope for a function invocation) should not have a __proto__ property. They don't in Mozilla (which originated the __proto__ extension) and it allows various optimizations of property lookup if this is not supported.
Attachments
Maciej Stachowiak
Comment 1 2006-01-05 23:20:40 PST
Here's a simple test: javascript:alert((function() { __proto__.testVariable = 'found'; return window.testVariable; })()) This should show 'found' and does in Firefox 1.5 (but not in some older versions - presumably that means they decided to change this too from the way it was).
Maciej Stachowiak
Comment 2 2006-01-05 23:57:31 PST
This is also fixed by the changes for 6249. *** This bug has been marked as a duplicate of 6249 ***
Note You need to log in before you can comment on or make changes to this bug.