| Index: third_party/WebKit/LayoutTests/http/tests/inspector/console-cd-completions.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/console-cd-completions.html b/third_party/WebKit/LayoutTests/http/tests/inspector/console-cd-completions.html
|
| index 62d93a5915d07c8bd4d1f2aa8d3d64974bd511ff..c61a971cf699168d4d955cdd17e0a7cea91767ae 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/console-cd-completions.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/console-cd-completions.html
|
| @@ -92,7 +92,7 @@ function test()
|
| {
|
| InspectorTest.changeExecutionContext("myIFrame");
|
|
|
| - WebInspector.context.flavor(WebInspector.ExecutionContext).completionsForExpression("", "myGlob").then(checkCompletions.bind(this));
|
| + WebInspector.JavaScriptAutocomplete.completionsForExpression("", "myGlob").then(checkCompletions.bind(this));
|
| function checkCompletions(completions)
|
| {
|
| InspectorTest.addResult("myGlob completions:")
|
| @@ -103,7 +103,7 @@ function test()
|
| function requestIFrameCompletions()
|
| {
|
| InspectorTest.changeExecutionContext("top");
|
| - WebInspector.context.flavor(WebInspector.ExecutionContext).completionsForExpression("myIFrame.", "").then(checkIframeCompletions.bind(this));
|
| + WebInspector.JavaScriptAutocomplete.completionsForExpression("myIFrame.", "").then(checkIframeCompletions.bind(this));
|
| }
|
|
|
| function checkIframeCompletions(completions)
|
| @@ -117,7 +117,7 @@ function test()
|
| function requestProxyCompletions()
|
| {
|
| InspectorTest.changeExecutionContext("top");
|
| - WebInspector.context.flavor(WebInspector.ExecutionContext).completionsForExpression("window.proxy2.", "").then(checkProxyCompletions.bind(this));
|
| + WebInspector.JavaScriptAutocomplete.completionsForExpression("window.proxy2.", "").then(checkProxyCompletions.bind(this));
|
| }
|
|
|
| function checkProxyCompletions(completions)
|
| @@ -137,7 +137,7 @@ function test()
|
| function requestMyClassWithMixinCompletions()
|
| {
|
| InspectorTest.changeExecutionContext("top");
|
| - WebInspector.context.flavor(WebInspector.ExecutionContext).completionsForExpression("window.x.", "").then(checkMyClassWithMixinCompletions.bind(this));
|
| + WebInspector.JavaScriptAutocomplete.completionsForExpression("window.x.", "").then(checkMyClassWithMixinCompletions.bind(this));
|
| }
|
|
|
| function checkMyClassWithMixinCompletions(completions)
|
| @@ -151,7 +151,7 @@ function test()
|
| function requestObjectCompletions()
|
| {
|
| InspectorTest.changeExecutionContext("top");
|
| - WebInspector.context.flavor(WebInspector.ExecutionContext).completionsForExpression("Object.", "").then(checkObjectCompletions.bind(this));
|
| + WebInspector.JavaScriptAutocomplete.completionsForExpression("Object.", "").then(checkObjectCompletions.bind(this));
|
| }
|
|
|
| function checkObjectCompletions(completions)
|
|
|