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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/autocomplete-general.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/inspector/sources/autocomplete-general.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/autocomplete-general.html b/third_party/WebKit/LayoutTests/inspector/sources/autocomplete-general.html
index 31ec7299e1b925eb9fe377e8e9cfcb5ec63ededa..66df0a2588b95023ec486d92b61e9168530676a5 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/autocomplete-general.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/autocomplete-general.html
@@ -23,8 +23,8 @@ function test()
function testCompletionsShowUpOnKeyPress(next)
{
textEditor.setText("name1 name2 name3 name4\nna");
- textEditor.setSelection(WebInspector.TextRange.createFromLocation(1, 2));
- InspectorTest.addSniffer(WebInspector.TextEditorAutocompleteController.prototype, "_onSuggestionsShownForTest", onAutocompletionSuggestBox);
+ textEditor.setSelection(Common.TextRange.createFromLocation(1, 2));
+ InspectorTest.addSniffer(TextEditor.TextEditorAutocompleteController.prototype, "_onSuggestionsShownForTest", onAutocompletionSuggestBox);
InspectorTest.typeIn(textEditor, "m");
function onAutocompletionSuggestBox()
{
@@ -48,7 +48,7 @@ function test()
function testRemoveDuplicate(next)
{
textEditor.setText("one\none");
- textEditor.setSelection(new WebInspector.TextRange(0, 0, 0, 3));
+ textEditor.setSelection(new Common.TextRange(0, 0, 0, 3));
InspectorTest.typeIn(textEditor, "\b", dumpDictionary.bind(null, next));
},
@@ -60,13 +60,13 @@ function test()
function testSimpleEdit(next)
{
- textEditor.setSelection(WebInspector.TextRange.createFromLocation(0, 3));
+ textEditor.setSelection(Common.TextRange.createFromLocation(0, 3));
InspectorTest.typeIn(textEditor, "\b", dumpDictionary.bind(null, next));
},
function testDeleteOneDogAndOneCat(next)
{
- textEditor.setSelection(WebInspector.TextRange.createFromLocation(0, 6));
+ textEditor.setSelection(Common.TextRange.createFromLocation(0, 6));
InspectorTest.typeIn(textEditor, "\b\b\b\b\b\b", dumpDictionary.bind(null, next));
}
];

Powered by Google App Engine
This is Rietveld 408576698