[Webkit-unassigned] [Bug 64250] New: Global strict mode function leaking global object as "this".

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 10 22:11:28 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=64250

           Summary: Global strict mode function leaking global object as
                    "this".
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: erights at gmail.com


> function foo(){"use strict"; return this;}
    undefined

    > foo()
    DOMWindow

The call to foo() should have returned undefined.

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



More information about the webkit-unassigned mailing list