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; |
} |