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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/autocomplete-general.html

Issue 2769843003: DevTools: split text_utils out of common module (Closed)
Patch Set: rebaseline Created 3 years, 9 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/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 66df0a2588b95023ec486d92b61e9168530676a5..eaaca9e04162c1770ac59a1bf7200928d257b46c 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/autocomplete-general.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/autocomplete-general.html
@@ -23,7 +23,7 @@ function test()
function testCompletionsShowUpOnKeyPress(next)
{
textEditor.setText("name1 name2 name3 name4\nna");
- textEditor.setSelection(Common.TextRange.createFromLocation(1, 2));
+ textEditor.setSelection(TextUtils.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 Common.TextRange(0, 0, 0, 3));
+ textEditor.setSelection(new TextUtils.TextRange(0, 0, 0, 3));
InspectorTest.typeIn(textEditor, "\b", dumpDictionary.bind(null, next));
},
@@ -60,13 +60,13 @@ function test()
function testSimpleEdit(next)
{
- textEditor.setSelection(Common.TextRange.createFromLocation(0, 3));
+ textEditor.setSelection(TextUtils.TextRange.createFromLocation(0, 3));
InspectorTest.typeIn(textEditor, "\b", dumpDictionary.bind(null, next));
},
function testDeleteOneDogAndOneCat(next)
{
- textEditor.setSelection(Common.TextRange.createFromLocation(0, 6));
+ textEditor.setSelection(TextUtils.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