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

Unified Diff: third_party/WebKit/LayoutTests/inspector/editor/text-editor-smart-braces.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-smart-braces.html
diff --git a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-smart-braces.html b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-smart-braces.html
index 1347534c857afa82c4163330559522932f1ce365..38ccf8695019270f41391e1aca8cd8a07dc1932a 100644
--- a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-smart-braces.html
+++ b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-smart-braces.html
@@ -13,7 +13,7 @@ function test()
function clearEditor()
{
textEditor.setText("");
- textEditor.setSelection(Common.TextRange.createFromLocation(0, 0));
+ textEditor.setSelection(TextUtils.TextRange.createFromLocation(0, 0));
}
InspectorTest.runTestSuite([
@@ -42,7 +42,7 @@ function test()
function testQuotesToCloseStringLiterals(next)
{
textEditor.setText("'Hello");
- textEditor.setSelection(Common.TextRange.createFromLocation(0, 6));
+ textEditor.setSelection(TextUtils.TextRange.createFromLocation(0, 6));
InspectorTest.typeIn(textEditor, "\"'", onTypedIn);
function onTypedIn()
{
@@ -54,7 +54,7 @@ function test()
function testQuotesToCloseStringLiteralInsideLine(next)
{
textEditor.setText("console.log(\"information\");");
- textEditor.setSelection(Common.TextRange.createFromLocation(0, 24));
+ textEditor.setSelection(TextUtils.TextRange.createFromLocation(0, 24));
InspectorTest.typeIn(textEditor, "\"", onTypedIn);
function onTypedIn()
{

Powered by Google App Engine
This is Rietveld 408576698