| Index: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-completions-on-call-frame.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-completions-on-call-frame.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-completions-on-call-frame.html
|
| index 7a8523bfda5cbf7ef1a3a5159229c43830e4896a..2600c967cd554b7b1d313eb7733668f582068aaa 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-completions-on-call-frame.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-completions-on-call-frame.html
|
| @@ -17,7 +17,6 @@ function testFunction()
|
|
|
| function test()
|
| {
|
| - var executionContext = WebInspector.context.flavor(WebInspector.ExecutionContext);
|
| InspectorTest.runDebuggerTestSuite([
|
| function step1(next)
|
| {
|
| @@ -26,62 +25,62 @@ function test()
|
|
|
| function step2(next)
|
| {
|
| - executionContext.completionsForExpression("", "var").then(checkAgainstGolden.bind(this, ["var1", "var2"], [], next));
|
| + WebInspector.JavaScriptAutocomplete.completionsForExpression("", "var").then(checkAgainstGolden.bind(this, ["var1", "var2"], [], next));
|
| },
|
|
|
| function step3(next)
|
| {
|
| - executionContext.completionsForExpression("", "di").then(checkAgainstGolden.bind(this, ["dir", "dirxml"], [], next));
|
| + WebInspector.JavaScriptAutocomplete.completionsForExpression("", "di").then(checkAgainstGolden.bind(this, ["dir", "dirxml"], [], next));
|
| },
|
|
|
| function step4(next)
|
| {
|
| - executionContext.completionsForExpression("", "win").then(checkAgainstGolden.bind(this, ["window"], [], next));
|
| + WebInspector.JavaScriptAutocomplete.completionsForExpression("", "win").then(checkAgainstGolden.bind(this, ["window"], [], next));
|
| },
|
|
|
| function step5(next)
|
| {
|
| - executionContext.completionsForExpression("", "t").then(checkAgainstGolden.bind(this, ["this"], [], next));
|
| + WebInspector.JavaScriptAutocomplete.completionsForExpression("", "t").then(checkAgainstGolden.bind(this, ["this"], [], next));
|
| },
|
|
|
| function step6(next)
|
| {
|
| - executionContext.completionsForExpression("var1", "toExp").then(checkAgainstGolden.bind(this, ["toExponential"], [], next));
|
| + WebInspector.JavaScriptAutocomplete.completionsForExpression("var1", "toExp").then(checkAgainstGolden.bind(this, ["toExponential"], [], next));
|
| },
|
|
|
| function step7(next)
|
| {
|
| - executionContext.completionsForExpression("123", "toExp").then(checkAgainstGolden.bind(this, [], ["toExponential"], next));
|
| + WebInspector.JavaScriptAutocomplete.completionsForExpression("123", "toExp").then(checkAgainstGolden.bind(this, [], ["toExponential"], next));
|
| },
|
|
|
| function step8(next)
|
| {
|
| - executionContext.completionsForExpression("", "").then(checkAgainstGolden.bind(this, [], ["$"], next));
|
| + WebInspector.JavaScriptAutocomplete.completionsForExpression("", "").then(checkAgainstGolden.bind(this, [], ["$"], next));
|
| },
|
|
|
| function step9(next)
|
| {
|
| - executionContext.completionsForExpression("", "", true).then(checkAgainstGolden.bind(this, ["$", "window"], [], next));
|
| + WebInspector.JavaScriptAutocomplete.completionsForExpression("", "", true).then(checkAgainstGolden.bind(this, ["$", "window"], [], next));
|
| },
|
|
|
| function step10(next)
|
| {
|
| - executionContext.completionsForExpression("console", "log('bar');").then(checkAgainstGolden.bind(this, [], ["$"], next));
|
| + WebInspector.JavaScriptAutocomplete.completionsForExpression("console", "log('bar');").then(checkAgainstGolden.bind(this, [], ["$"], next));
|
| },
|
|
|
| function step11(next)
|
| {
|
| - executionContext.completionsForExpression("arr1.", "").then(checkAgainstGolden.bind(this, ["length"], ["1", "2", "3"], next));
|
| + WebInspector.JavaScriptAutocomplete.completionsForExpression("arr1.", "").then(checkAgainstGolden.bind(this, ["length"], ["1", "2", "3"], next));
|
| },
|
|
|
| function step12(next)
|
| {
|
| - executionContext.completionsForExpression("arr1[", "").then(checkAgainstGolden.bind(this, ["\"length\"]"], ["3]"], next));
|
| + WebInspector.JavaScriptAutocomplete.completionsForExpression("arr1[", "").then(checkAgainstGolden.bind(this, ["\"length\"]"], ["3]"], next));
|
| },
|
|
|
| function step13_ShouldNotCrash(next)
|
| {
|
| - executionContext.completionsForExpression("arr2.", "").then(checkAgainstGolden.bind(this, ["length"], ["1", "2", "3"], next));
|
| + WebInspector.JavaScriptAutocomplete.completionsForExpression("arr2.", "").then(checkAgainstGolden.bind(this, ["length"], ["1", "2", "3"], next));
|
| },
|
| ]);
|
|
|
|
|