| 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);
|
|
|