[Webkit-unassigned] [Bug 47862] Web Inspector: js executed in the console doesn't trigger strict mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 19 01:17:53 PDT 2010


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





--- Comment #1 from Pavel Feldman <pfeldman at chromium.org>  2010-10-19 01:17:52 PST ---
That's the way we wrap it:
        if (!isEvalOnCallFrame)
            expression = "with (window) {\n" + expression + "\n} ";
        expression = "with (window.console._commandLineAPI) {\n" + expression + "\n}";

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