RESOLVED FIXED 57293
ES5 Strict mode causes exception line numbers to be reported incorrectly
https://bugs.webkit.org/show_bug.cgi?id=57293
Summary ES5 Strict mode causes exception line numbers to be reported incorrectly
Ryan Berdeen
Reported 2011-03-28 19:30:04 PDT
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.
Attachments
Oliver Hunt
Comment 1 2011-05-01 20:01:07 PDT
Whoops, I know what's happening here.
Oliver Hunt
Comment 2 2011-05-02 08:10:08 PDT
Note You need to log in before you can comment on or make changes to this bug.