| 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 f9eef35a6f34d6f35ead88a2a16173d664ca197a..32a1571642adf2f5b9f1f8454800d25d380be8f9 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
|
| @@ -25,67 +25,67 @@ function test()
|
|
|
| function step2(next)
|
| {
|
| - WebInspector.JavaScriptAutocomplete.completionsForExpression("", "var").then(checkAgainstGolden.bind(this, ["var1", "var2"], [], next));
|
| + Components.JavaScriptAutocomplete.completionsForExpression("", "var").then(checkAgainstGolden.bind(this, ["var1", "var2"], [], next));
|
| },
|
|
|
| function step3(next)
|
| {
|
| - WebInspector.JavaScriptAutocomplete.completionsForExpression("", "di").then(checkAgainstGolden.bind(this, ["dir", "dirxml"], [], next));
|
| + Components.JavaScriptAutocomplete.completionsForExpression("", "di").then(checkAgainstGolden.bind(this, ["dir", "dirxml"], [], next));
|
| },
|
|
|
| function step4(next)
|
| {
|
| - WebInspector.JavaScriptAutocomplete.completionsForExpression("", "win").then(checkAgainstGolden.bind(this, ["window"], [], next));
|
| + Components.JavaScriptAutocomplete.completionsForExpression("", "win").then(checkAgainstGolden.bind(this, ["window"], [], next));
|
| },
|
|
|
| function step5(next)
|
| {
|
| - WebInspector.JavaScriptAutocomplete.completionsForExpression("", "t").then(checkAgainstGolden.bind(this, ["this"], [], next));
|
| + Components.JavaScriptAutocomplete.completionsForExpression("", "t").then(checkAgainstGolden.bind(this, ["this"], [], next));
|
| },
|
|
|
| function step6(next)
|
| {
|
| - WebInspector.JavaScriptAutocomplete.completionsForExpression("var1.", "toExp").then(checkAgainstGolden.bind(this, ["toExponential"], [], next));
|
| + Components.JavaScriptAutocomplete.completionsForExpression("var1.", "toExp").then(checkAgainstGolden.bind(this, ["toExponential"], [], next));
|
| },
|
|
|
| function step7(next)
|
| {
|
| - WebInspector.JavaScriptAutocomplete.completionsForExpression("123.", "toExp").then(checkAgainstGolden.bind(this, [], ["toExponential"], next));
|
| + Components.JavaScriptAutocomplete.completionsForExpression("123.", "toExp").then(checkAgainstGolden.bind(this, [], ["toExponential"], next));
|
| },
|
|
|
| function step8(next)
|
| {
|
| - WebInspector.JavaScriptAutocomplete.completionsForExpression("", "").then(checkAgainstGolden.bind(this, [], ["$"], next));
|
| + Components.JavaScriptAutocomplete.completionsForExpression("", "").then(checkAgainstGolden.bind(this, [], ["$"], next));
|
| },
|
|
|
| function step9(next)
|
| {
|
| - WebInspector.JavaScriptAutocomplete.completionsForExpression("", "", true).then(checkAgainstGolden.bind(this, ["$", "window"], [], next));
|
| + Components.JavaScriptAutocomplete.completionsForExpression("", "", true).then(checkAgainstGolden.bind(this, ["$", "window"], [], next));
|
| },
|
|
|
| function step10(next)
|
| {
|
| - WebInspector.JavaScriptAutocomplete.completionsForExpression("console.", "log('bar');").then(checkAgainstGolden.bind(this, [], ["$"], next));
|
| + Components.JavaScriptAutocomplete.completionsForExpression("console.", "log('bar');").then(checkAgainstGolden.bind(this, [], ["$"], next));
|
| },
|
|
|
| function step11(next)
|
| {
|
| - WebInspector.JavaScriptAutocomplete.completionsForExpression("arr1.", "").then(checkAgainstGolden.bind(this, ["length"], ["1", "2", "3"], next));
|
| + Components.JavaScriptAutocomplete.completionsForExpression("arr1.", "").then(checkAgainstGolden.bind(this, ["length"], ["1", "2", "3"], next));
|
| },
|
|
|
| function step12(next)
|
| {
|
| - WebInspector.JavaScriptAutocomplete.completionsForExpression("arr1[", "").then(checkAgainstGolden.bind(this, ["\"length\"]"], ["3]"], next));
|
| + Components.JavaScriptAutocomplete.completionsForExpression("arr1[", "").then(checkAgainstGolden.bind(this, ["\"length\"]"], ["3]"], next));
|
| },
|
|
|
| function step13_ShouldNotCrash(next)
|
| {
|
| - WebInspector.JavaScriptAutocomplete.completionsForExpression("arr2.", "").then(checkAgainstGolden.bind(this, ["length"], ["1", "2", "3"], next));
|
| + Components.JavaScriptAutocomplete.completionsForExpression("arr2.", "").then(checkAgainstGolden.bind(this, ["length"], ["1", "2", "3"], next));
|
| },
|
|
|
| function step14(next)
|
| {
|
| - WebInspector.JavaScriptAutocomplete.completionsForExpression("document\n","E").then(checkAgainstGolden.bind(this, ["Element"], ["ELEMENT_NODE"], next));
|
| + Components.JavaScriptAutocomplete.completionsForExpression("document\n","E").then(checkAgainstGolden.bind(this, ["Element"], ["ELEMENT_NODE"], next));
|
| }
|
| ]);
|
|
|
|
|