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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js

Issue 2387003004: DevTools: do not hide autocomplete for console prompt as user types. (Closed)
Patch Set: Created 4 years, 2 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 | third_party/WebKit/LayoutTests/inspector/console/console-retain-autocomplete-on-typing.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js
index e63e4532bcfb71bfb33ed0c794f5849464477e42..2c069cc1634217ab5cd0bfec855255b716ca1c00 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js
@@ -349,9 +349,9 @@ InspectorTest.waitUntilConsoleEditorLoaded = function()
var promise = new Promise(x => fulfill = x);
var editor = WebInspector.ConsoleView.instance()._prompt._editor;
if (editor)
- fulfill();
+ fulfill(editor);
else
- InspectorTest.addSniffer(WebInspector.ConsolePrompt.prototype, "_editorSetForTest", _ => fulfill())
+ InspectorTest.addSniffer(WebInspector.ConsolePrompt.prototype, "_editorSetForTest", _ => fulfill(editor))
return promise;
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-retain-autocomplete-on-typing.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698