From 74087aeb2cbaded50b108cea74ffc2a89f4e00c3 Mon Sep 17 00:00:00 2001 From: "yurys@google.com" Date: Mon, 25 May 2009 09:37:40 +0000 Subject: DevTools: disable console autocompletion until we come up with some good solution for asynchronouse completion. BUG=12435 Review URL: http://codereview.chromium.org/115753 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16853 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/devtools/js/devtools.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/webkit/glue/devtools/js/devtools.js b/webkit/glue/devtools/js/devtools.js index 36e4410..3b2a6e1 100644 --- a/webkit/glue/devtools/js/devtools.js +++ b/webkit/glue/devtools/js/devtools.js @@ -288,6 +288,17 @@ WebInspector.Console.prototype._evalInInspectedWindow = function(expr) { /** + * Disable autocompletion in the console. + * TODO(yurys): change WebKit implementation to allow asynchronous completion. + * @override + */ +WebInspector.Console.prototype.completions = function( + wordRange, bestMatchOnly) { + return null; +}; + + +/** * @override */ WebInspector.ElementsPanel.prototype.updateStyles = function(forceUpdate) { -- cgit v1.1