[Webkit-unassigned] [Bug 7751] New: Scope is broken with nested evals inside of functions.

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Mon Mar 13 05:10:03 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7751

           Summary: Scope is broken with nested evals inside of functions.
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: tolmasky at gmail.com


When I nest evals, even though I do eval.apply(window, ...) the this object is
kind of window and kind of not.  Doing alert(this==window) alerts true, however
doing function a() { } will not put a into this, or window for that matter. 
Check the attachment for a clearer example.  Note, this works fine in Firefox.


-- 
Configure bugmail: http://bugzilla.opendarwin.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