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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector-unit/text-prompt-hint.html

Issue 2450663004: DevTools: do not allow using 'this' before call into super. (Closed)
Patch Set: rebaselined 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
Index: third_party/WebKit/LayoutTests/http/tests/inspector-unit/text-prompt-hint.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/text-prompt-hint.html b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/text-prompt-hint.html
index b79f7029707304bbc04fb56988eb6756aa86d364..b58194f3cbdd6087a3cc2ca03706c86b494d7fda 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/text-prompt-hint.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/text-prompt-hint.html
@@ -13,7 +13,8 @@ function test()
console.error("completionsDone called too early!");
UnitTest.completeTest();
}
- var prompt = new WebInspector.TextPrompt(completions);
+ var prompt = new WebInspector.TextPrompt();
+ prompt.initialize(completions);
var element = createElement("div");
WebInspector.inspectorView.element.appendChild(element);
var proxy = prompt.attachAndStartEditing(element);

Powered by Google App Engine
This is Rietveld 408576698