WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Add attachment
proposed patch, testcase, etc.
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
Committed
r85456
: <
http://trac.webkit.org/changeset/85456
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug