Bug 99305
Summary: | Web Inspector: ignore "use strict" when breaking | ||
---|---|---|---|
Product: | WebKit | Reporter: | pom |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | apavlov, bweinstein, joepeck, keishi, loislo, ml, pfeldman, pmuellr, rik, timothy, yurys |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
pom
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
*** This bug has been marked as a duplicate of bug 83267 ***