Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3429)

Unified Diff: webkit/glue/devtools/js/devtools.js

Issue 560015: Merge 37506 - DevTools: fix console autocomplete against global object (while... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/307/src/
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/js/devtools.js
===================================================================
--- webkit/glue/devtools/js/devtools.js (revision 37837)
+++ webkit/glue/devtools/js/devtools.js (working copy)
@@ -480,7 +480,7 @@
var orig = accessor.getCompletions;
accessor.getCompletions = function(expressionString,
includeInspectorCommandLineAPI, callFrameId, reportCompletions) {
- if (goog.isDef(callFrameId)) {
+ if (typeof callFrameId === "number") {
devtools.tools.getDebuggerAgent().resolveCompletionsOnFrame(
expressionString, callFrameId, reportCompletions);
} else {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698