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

Unified Diff: Source/devtools/front_end/console/ConsoleView.js

Issue 773883003: [DevTools] Console view should hide the suggestion box upon console clear (Ctrl/Cmd+L). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reuploading the patch Created 6 years 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: Source/devtools/front_end/console/ConsoleView.js
diff --git a/Source/devtools/front_end/console/ConsoleView.js b/Source/devtools/front_end/console/ConsoleView.js
index 9a2118b39203289bb5a9889b5fd91d70134d639b..d0c3e0eecc371f53999918b15578e99bcf0dc8bb 100644
--- a/Source/devtools/front_end/console/ConsoleView.js
+++ b/Source/devtools/front_end/console/ConsoleView.js
@@ -618,6 +618,8 @@ WebInspector.ConsoleView.prototype = {
this._clearCurrentSearchResultHighlight();
this._consoleMessages = [];
this._updateMessageList();
+ this._prompt.hideSuggestBox();
+ this._prompt.clearAutoComplete(true);
if (this._searchRegex)
this._searchableView.updateSearchMatchesCount(0);
« 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