[Webkit-unassigned] [Bug 83267] New: Web Inspector: "SyntaxError: 'with' statements are not valid in strict mode" when debugging strict mode script
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 5 04:48:03 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=83267
Summary: Web Inspector: "SyntaxError: 'with' statements are not
valid in strict mode" when debugging strict mode
script
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh Intel
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: matt.cg at ft.com
CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
pmuellr at yahoo.com, joepeck at webkit.org,
pfeldman at chromium.org, yurys at chromium.org,
bweinstein at apple.com, apavlov at chromium.org,
loislo at chromium.org
Steps to reproduce:
1) Write a script with the "strict mode" flag at the top
2) Insert a breakpoint in your script and run something that will trigger a pause on that breakpoint
3) Open the console and attempt to evaluate something while execution is paused e.g. type 'this' and hit enter
What should happen:
The entered script should be evaluated.
What happens instead:
A SyntaxError with the message "'with' statements are not valid in strict mode" is thrown.
--
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