| Index: third_party/WebKit/LayoutTests/inspector/editor/text-editor-token-at-position.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-token-at-position.html b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-token-at-position.html
|
| index 6a240a93c1aa5bfd511e038b9eab31bf985974c5..42bef4eead6aed87cafc615cfc0c97f92db841d8 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-token-at-position.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-token-at-position.html
|
| @@ -35,10 +35,13 @@ function test()
|
| function testHighlightedText(next)
|
| {
|
| var textEditor = InspectorTest.createTestEditor();
|
| - textEditor.setMimeType("text/javascript");
|
| - textEditor.setText(text.join("\n"));
|
| - testTokenAtPosition(textEditor);
|
| - next();
|
| + textEditor.setMimeType("text/javascript").then(step1);
|
| + function step1()
|
| + {
|
| + textEditor.setText(text.join("\n"));
|
| + testTokenAtPosition(textEditor);
|
| + next();
|
| + }
|
| },
|
| ]);
|
| }
|
|
|