WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 83267
Bug 99305
Web Inspector: ignore "use strict" when breaking
https://bugs.webkit.org/show_bug.cgi?id=99305
Summary
Web Inspector: ignore "use strict" when breaking
pom
Reported
2012-10-15 03:07:47 PDT
When debugging Javascript code in strict mode (using the "use strict"; statement), and then setting a breakpoint, it is not possible to evaluate statements involving local variables because of the following error: "Syntax Error: 'with' statements are not valid in strict mode" It would be a nice feature to ignore the "use strict" statement in that situation. (Or avoid using "with" so that this error is not raised.)
Attachments
Add attachment
proposed patch, testcase, etc.
Timothy Hatcher
Comment 1
2012-10-15 11:43:23 PDT
*** This bug has been marked as a duplicate of
bug 83267
***
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