| Index: third_party/WebKit/LayoutTests/inspector/editor/text-editor-word-jumps.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-word-jumps.html b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-word-jumps.html
|
| index dfa6e0c26af2cd863fe69f23e2fde76e4fe8f808..42ae8f32cee7118d9d3cc79efd2f25fe8b16386e 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-word-jumps.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-word-jumps.html
|
| @@ -27,8 +27,8 @@ function testMyCamelMove(foo, bar)
|
| textEditor.element.focus();
|
|
|
| InspectorTest.addResult(textEditor.text());
|
| - const wordJumpModifier = WebInspector.isMac() ? "altKey" : "ctrlKey";
|
| - const camelJumpModifier = WebInspector.isMac() ? "ctrlKey" : "altKey";
|
| + const wordJumpModifier = Host.isMac() ? "altKey" : "ctrlKey";
|
| + const camelJumpModifier = Host.isMac() ? "ctrlKey" : "altKey";
|
|
|
| function dumpEditorSelection()
|
| {
|
| @@ -44,14 +44,14 @@ function testMyCamelMove(foo, bar)
|
|
|
| function setCursorAtBeginning()
|
| {
|
| - textEditor.setSelection(WebInspector.TextRange.createFromLocation(0, 0));
|
| + textEditor.setSelection(Common.TextRange.createFromLocation(0, 0));
|
| }
|
|
|
| function setCursorAtEnd()
|
| {
|
| var lastLine = textEditor.linesCount - 1;
|
| var lastColumn = textEditor.line(lastLine).length;
|
| - textEditor.setSelection(WebInspector.TextRange.createFromLocation(lastLine, lastColumn));
|
| + textEditor.setSelection(Common.TextRange.createFromLocation(lastLine, lastColumn));
|
| }
|
|
|
| function fireEventWhileSelectionChanges(eventType, modifiers, callback)
|
|
|