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

Unified Diff: third_party/WebKit/LayoutTests/inspector/editor/text-editor-home-button.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-home-button.html
diff --git a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-home-button.html b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-home-button.html
index d4c7fd72acdd1bcf1a88863052eddc4ab61e2109..dce73e5e2e57e4168044172e4df257f160cee542 100644
--- a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-home-button.html
+++ b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-home-button.html
@@ -46,7 +46,7 @@ function foo()
InspectorTest.runTestSuite([
function testFirstNonBlankCharacter(next)
{
- var selection = Common.TextRange.createFromLocation(2, 8);
+ var selection = TextUtils.TextRange.createFromLocation(2, 8);
textEditor.setSelection(selection);
InspectorTest.dumpTextWithSelection(textEditor);
hitHomeButton(false, 1, next);
@@ -54,7 +54,7 @@ function foo()
function testFirstNonBlankCharacterFromWhitespace(next)
{
- var selection = Common.TextRange.createFromLocation(2, 2);
+ var selection = TextUtils.TextRange.createFromLocation(2, 2);
textEditor.setSelection(selection);
InspectorTest.dumpTextWithSelection(textEditor);
hitHomeButton(false, 1, next);
@@ -62,7 +62,7 @@ function foo()
function testHomeButtonToggling(next)
{
- var selection = Common.TextRange.createFromLocation(2, 2);
+ var selection = TextUtils.TextRange.createFromLocation(2, 2);
textEditor.setSelection(selection);
InspectorTest.dumpTextWithSelection(textEditor);
hitHomeButton(false, 3, next);
@@ -70,7 +70,7 @@ function foo()
function testHomeButtonDoesNotChangeCursor(next)
{
- var selection = Common.TextRange.createFromLocation(0, 2);
+ var selection = TextUtils.TextRange.createFromLocation(0, 2);
textEditor.setSelection(selection);
InspectorTest.dumpTextWithSelection(textEditor);
hitHomeButton(false, 2, next);
@@ -78,7 +78,7 @@ function foo()
function testHomeButtonWithShift(next)
{
- var selection = new Common.TextRange(0, 0, 2, 8);
+ var selection = new TextUtils.TextRange(0, 0, 2, 8);
textEditor.setSelection(selection);
InspectorTest.dumpTextWithSelection(textEditor);
hitHomeButton(true, 3, next);
@@ -86,7 +86,7 @@ function foo()
function testHomeButtonWithShiftInversed(next)
{
- var selection = new Common.TextRange(3, 1, 2, 8);
+ var selection = new TextUtils.TextRange(3, 1, 2, 8);
textEditor.setSelection(selection);
InspectorTest.dumpTextWithSelection(textEditor);
hitHomeButton(true, 3, next);

Powered by Google App Engine
This is Rietveld 408576698