[Webkit-unassigned] [Bug 11399] window.eval runs in the global scope of the calling window

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 22 16:55:26 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=11399





------- Comment #7 from ggaren at apple.com  2007-05-22 16:55 PDT -------
Created an attachment (id=14669)
 --> (http://bugs.webkit.org/attachment.cgi?id=14669&action=view)
test case for eval scope

Firefox, IE, Opera, and Safari all disagree about this.

IE has no eval method in inner windows.

Firefox uses the inner window as the front of the scope chain, the variable
object, but not 'this'.

Opera uses the inner window as the front of the scope chain, the variable
object, and 'this'.

Safari uses the outer window as the front of the scope chain and 'this', and a
separate object that is not the inner window as the variable object.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list