| Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context.html
|
| index 4bdd64db49dd16220a19ffb63d2c00d13c6ee308..46fc60e082ab3c19acff587388fc1aac8a84ef2a 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context.html
|
| @@ -26,9 +26,9 @@ function test()
|
|
|
| InspectorTest.addResult("");
|
| InspectorTest.addResult("Adding page target");
|
| - var pageTarget = InspectorTest.createMockTarget("page-target");
|
| - SDK.ResourceTreeModel.fromTarget(pageTarget)._cachedResourcesProcessed = true;
|
| - SDK.ResourceTreeModel.fromTarget(pageTarget)._frameAttached("42", 0);
|
| + var pageTarget = InspectorTest.createMockTarget("page-target", SDK.Target.Capability.AllForTests, true /* dontAttachToMain */);
|
| + SDK.ResourceTreeModel.fromTarget(pageTarget)._frameAttached('42', '');
|
| + SDK.ResourceTreeModel.fromTarget(pageTarget)._frameNavigated({id: '42', parentId: '', loaderId: '', name: 'mock-frame', url: 'mock-url.com/frame.html', securityOrigin: 'mock-security-origin', mineType: 'mimeType'});
|
| pageTarget.runtimeModel._executionContextCreated({id: "cs1", auxData: { isDefault: false, frameId: "42" }, origin: "origin", name: "contentScript1"});
|
| pageTarget.runtimeModel._executionContextCreated({id: "if1", auxData: { isDefault: true, frameId: "iframe1" }, origin: "origin", name: "iframeContext1"});
|
| pageTarget.runtimeModel._executionContextCreated({id: "p1", auxData: { isDefault: true, frameId: "42" }, origin: "origin", name: "pageContext1Name"});
|
|
|