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

Unified Diff: third_party/WebKit/LayoutTests/inspector/editor/text-editor-enter-behaviour.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-enter-behaviour.html
diff --git a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-enter-behaviour.html b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-enter-behaviour.html
index 49903b5b78bc53ddabd64b5d3e9cd399965eca91..3954ec70bbb55cc047b1d3d7a4dae6be1991ce58 100644
--- a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-enter-behaviour.html
+++ b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-enter-behaviour.html
@@ -32,7 +32,7 @@ function testFunction()
{
textEditor.setText(testFunction.toString());
var line = textEditor.line(2);
- textEditor.setSelection(Common.TextRange.createFromLocation(2, line.length));
+ textEditor.setSelection(TextUtils.TextRange.createFromLocation(2, line.length));
hitEnterDumpTextAndNext(next);
},
@@ -40,7 +40,7 @@ function testFunction()
{
textEditor.setText(testFunction.toString());
var line = textEditor.line(1);
- textEditor.setSelection(Common.TextRange.createFromLocation(1, line.length));
+ textEditor.setSelection(TextUtils.TextRange.createFromLocation(1, line.length));
hitEnterDumpTextAndNext(next);
},
@@ -48,49 +48,49 @@ function testFunction()
{
textEditor.setText(testFunction.toString());
var line = textEditor.line(2);
- textEditor.setSelection(Common.TextRange.createFromLocation(2, line.length / 2));
+ textEditor.setSelection(TextUtils.TextRange.createFromLocation(2, line.length / 2));
hitEnterDumpTextAndNext(next);
},
function testEnterInTheBeginningOfTheLine(next)
{
textEditor.setText(testFunction.toString());
- textEditor.setSelection(Common.TextRange.createFromLocation(2, 0));
+ textEditor.setSelection(TextUtils.TextRange.createFromLocation(2, 0));
hitEnterDumpTextAndNext(next);
},
function testEnterWithTheSelection(next)
{
textEditor.setText(testFunction.toString());
- textEditor.setSelection(new Common.TextRange(2, 2, 2, 4));
+ textEditor.setSelection(new TextUtils.TextRange(2, 2, 2, 4));
hitEnterDumpTextAndNext(next);
},
function testEnterWithReversedSelection(next)
{
textEditor.setText(testFunction.toString());
- textEditor.setSelection(new Common.TextRange(2, 4, 2, 2));
+ textEditor.setSelection(new TextUtils.TextRange(2, 4, 2, 2));
hitEnterDumpTextAndNext(next);
},
function testEnterWithTheMultiLineSelection(next)
{
textEditor.setText(testFunction.toString());
- textEditor.setSelection(new Common.TextRange(2, 0, 8, 4));
+ textEditor.setSelection(new TextUtils.TextRange(2, 0, 8, 4));
hitEnterDumpTextAndNext(next);
},
function testEnterWithFullLineSelection(next)
{
textEditor.setText(testFunction.toString());
- textEditor.setSelection(new Common.TextRange(2, 0, 3, 0));
+ textEditor.setSelection(new TextUtils.TextRange(2, 0, 3, 0));
hitEnterDumpTextAndNext(next);
},
function testEnterBeforeOpenBrace(next)
{
textEditor.setText(testFunction.toString());
- textEditor.setSelection(new Common.TextRange(8, 0, 8, 0));
+ textEditor.setSelection(new TextUtils.TextRange(8, 0, 8, 0));
hitEnterDumpTextAndNext(next);
},

Powered by Google App Engine
This is Rietveld 408576698