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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/selected-element-changes-execution-context.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots 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
Index: third_party/WebKit/LayoutTests/inspector/elements/selected-element-changes-execution-context.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/selected-element-changes-execution-context.html b/third_party/WebKit/LayoutTests/inspector/elements/selected-element-changes-execution-context.html
index 2b4ccdc0a86c84ba1d145bfe7c9c9b678e4c59ae..48d84b8668ad1a59b9b83f6765d4fe58d40c3318 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/selected-element-changes-execution-context.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/selected-element-changes-execution-context.html
@@ -14,7 +14,7 @@ function test()
function onExpanded()
{
- mainContext = WebInspector.context.flavor(WebInspector.ExecutionContext);
+ mainContext = UI.context.flavor(SDK.ExecutionContext);
dumpContextAndNext(next);
}
},
@@ -36,7 +36,7 @@ function test()
function selectIframeImmediateChild(next)
{
- var iframe = WebInspector.context.flavor(WebInspector.DOMNode);
+ var iframe = UI.context.flavor(SDK.DOMNode);
var child = iframe.firstChild;
InspectorTest.selectNode(child).then(dumpContextAndNext.bind(null, next));
},
@@ -44,8 +44,8 @@ function test()
function dumpContextAndNext(next)
{
- var context = WebInspector.context.flavor(WebInspector.ExecutionContext);
- var node = WebInspector.context.flavor(WebInspector.DOMNode);
+ var context = UI.context.flavor(SDK.ExecutionContext);
+ var node = UI.context.flavor(SDK.DOMNode);
var contextName = context === mainContext ? "main" : "iframe";
var matchesNode = context.frameId === node.frameId();
InspectorTest.addResult("Execution Context: " + contextName);

Powered by Google App Engine
This is Rietveld 408576698