[Webkit-unassigned] [Bug 114969] New: Web Inspector: //@ sourceURL does not work in new Function

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 22 11:03:01 PDT 2013


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

           Summary: Web Inspector: //@ sourceURL does not work in new
                    Function
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: timothy at apple.com
                CC: timothy at apple.com, joepeck at webkit.org,
                    graouts at apple.com


This does not work:
new Function("console.log(1)//@ sourceURL=test1.js");

While this does:
eval("console.log(1)//@ sourceURL=test2.js");

From: https://twitter.com/PeterTheFace/status/326392487612657664

-- 
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