[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 15:10:45 PDT 2010


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





--- Comment #2 from Oliver Hunt <oliver at apple.com>  2010-10-19 15:10:44 PST ---
(In reply to comment #1)
> That's the way we wrap it:
>         if (!isEvalOnCallFrame)
>             expression = "with (window) {\n" + expression + "\n} ";
>         expression = "with (window.console._commandLineAPI) {\n" + expression + "\n}";

Are there any other changes that you make to it?  And where do you actually cause it to be evaluated?  are there any string replacements happening?

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