Changeset 70565 in webkit
- Timestamp:
- Oct 26, 2010 1:29:37 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r70557 r70565 1 2010-10-26 Pavel Podivilov <podivilov@chromium.org> 2 3 Reviewed by Pavel Feldman. 4 5 Web Inspector: console doesn't work in closures when window is overrode 6 https://bugs.webkit.org/show_bug.cgi?id=48320 7 8 * inspector/front-end/InjectedScript.js: 9 (injectedScriptConstructor.): 10 1 11 2010-10-26 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> 2 12 -
trunk/WebCore/inspector/front-end/InjectedScript.js
r69752 r70565 269 269 if (!isEvalOnCallFrame) 270 270 expression = "with (window) {\n" + expression + "\n} "; 271 expression = "with (window .console._commandLineAPI) {\n" + expression + "\n}";271 expression = "with (window ? window.console._commandLineAPI : {}) {\n" + expression + "\n}"; 272 272 var value = evalFunction.call(object, expression); 273 273
Note: See TracChangeset
for help on using the changeset viewer.