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

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

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/text-prompt.html b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/text-prompt.html
index c2588cfea1dc25a234797cf31496d36028c5c635..21f7ac15403ca30ba73fb0bf631216d309763d99 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/text-prompt.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/text-prompt.html
@@ -6,11 +6,11 @@
<script>
function test() {
var suggestions = ["heyoo", "hey it's a suggestion", "hey another suggestion"];
- var prompt = new WebInspector.TextPrompt();
+ var prompt = new UI.TextPrompt();
prompt.initialize((element, range, force, callback) => callback(suggestions));
prompt.setSuggestBoxEnabled(true);
var div = document.createElement("div");
- WebInspector.inspectorView.element.appendChild(div);
+ UI.inspectorView.element.appendChild(div);
prompt.attachAndStartEditing(div);
prompt.setText("hey");
prompt.complete();

Powered by Google App Engine
This is Rietveld 408576698