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

Unified Diff: third_party/WebKit/LayoutTests/inspector/editor/text-editor-mark-clean.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/editor/text-editor-mark-clean.html
diff --git a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-mark-clean.html b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-mark-clean.html
index 3d65c3c77c0ec4553f4a7e73ab5d04cd7e979300..3802f6e3f6be2a8963ad7f0f96d60191ecfcf9aa 100644
--- a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-mark-clean.html
+++ b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-mark-clean.html
@@ -15,7 +15,7 @@ function test()
InspectorTest.addResult("Initial state: clean=" + textEditor.isClean());
textEditor.markClean();
InspectorTest.addResult("After marking clean: clean=" + textEditor.isClean());
- textEditor.editRange(Common.TextRange.createFromLocation(0, 0), "newText");
+ textEditor.editRange(TextUtils.TextRange.createFromLocation(0, 0), "newText");
InspectorTest.addResult("EDIT; clean=" + textEditor.isClean());
textEditor.undo();
InspectorTest.addResult("UNDO; clean=" + textEditor.isClean());
@@ -23,7 +23,7 @@ function test()
InspectorTest.addResult("REDO; clean=" + textEditor.isClean());
textEditor.undo();
InspectorTest.addResult("UNDO; clean=" + textEditor.isClean());
- textEditor.editRange(Common.TextRange.createFromLocation(1, 0), "newText2");
+ textEditor.editRange(TextUtils.TextRange.createFromLocation(1, 0), "newText2");
InspectorTest.addResult("EDIT; clean=" + textEditor.isClean());
textEditor.undo();
InspectorTest.addResult("UNDO; clean=" + textEditor.isClean());
@@ -34,12 +34,12 @@ function test()
{
InspectorTest.addResult("Initial state: clean=" + textEditor.isClean());
for(var i = 0; i < 3; ++i) {
- textEditor.editRange(Common.TextRange.createFromLocation(i, 0), "newText" + i);
+ textEditor.editRange(TextUtils.TextRange.createFromLocation(i, 0), "newText" + i);
InspectorTest.addResult("EDIT; clean=" + textEditor.isClean());
}
textEditor.markClean();
InspectorTest.addResult("After marking clean: clean=" + textEditor.isClean());
- textEditor.editRange(Common.TextRange.createFromLocation(3, 0), "newText" + 3);
+ textEditor.editRange(TextUtils.TextRange.createFromLocation(3, 0), "newText" + 3);
InspectorTest.addResult("EDIT; clean=" + textEditor.isClean());
for(var i = 0; i < 4; ++i) {
textEditor.undo();
@@ -53,7 +53,7 @@ function test()
textEditor.undo();
InspectorTest.addResult("UNDO; clean=" + textEditor.isClean());
}
- textEditor.editRange(Common.TextRange.createFromLocation(1, 0), "foo");
+ textEditor.editRange(TextUtils.TextRange.createFromLocation(1, 0), "foo");
InspectorTest.addResult("EDIT; clean=" + textEditor.isClean());
textEditor.undo();
InspectorTest.addResult("UNDO; clean=" + textEditor.isClean());

Powered by Google App Engine
This is Rietveld 408576698