[Webkit-unassigned] [Bug 99305] New: Web Inspector: ignore "use strict" when breaking

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 15 03:06:59 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=99305

           Summary: Web Inspector: ignore "use strict" when breaking
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pom at graougraou.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


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.)

-- 
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