diff options
-rw-r--r-- | webkit/glue/devtools/js/devtools.js | 11 |
1 files changed, 11 insertions, 0 deletions
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) { |