Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/console-cd-completions.html

Issue 2471243002: DevTools: Consolidate completion code into JavaScriptAutocomplete.js (Closed)
Patch Set: merge Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-correct-suggestions.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-correct-suggestions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698