[Webkit-unassigned] [Bug 57293] New: ES5 Strict mode causes exception line numbers to be reported incorrectly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 28 19:30:04 PDT 2011


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

           Summary: ES5 Strict mode causes exception line numbers to be
                    reported incorrectly
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://static.ryanberdeen.com/share/linenumber.html
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ryan at ryanberdeen.com


If a script block or file has 'use strict'; as the first line, SyntaxErrors and runtime exceptions will report incorrect line numbers.

In the URL I've linked, the syntax error is on line 8, but is reported on line 14.

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