[Webkit-unassigned] [Bug 32442] REGRESSION (r47686-r48034): Inspector console outputs the global value for a variable instead of the local value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 27 16:07:52 PDT 2010


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


Pavel Feldman <pfeldman at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #51845|review?                     |review-
               Flag|                            |




--- Comment #11 from Pavel Feldman <pfeldman at chromium.org>  2010-03-27 16:07:51 PST ---
(From update of attachment 51845)
Looks great! One nit and we can land this!

> +    if (!dontUseCommandLineAPI) {
> +        expression = "with (window.console._inspectorCommandLineAPI) { with (window) {\n" + expression + "\n} }";
> +    }

Single-line conditions should not have {}.

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