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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/navigator-view.html

Issue 2958403002: [WIP] DevTools: move UISourceCode creation into ResourceScriptMapping
Patch Set: pass everything but breakpointmanager Created 3 years, 6 months 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/sources/debugger/navigator-view.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/navigator-view.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/navigator-view.html
index 574a29a500cee38aed6bee4c15bed979a1f32db6..c8b2ddaa0d1b14a0e39aa6cb6f1de30c8daacbcf 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/navigator-view.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/navigator-view.html
@@ -7,13 +7,12 @@
<script>
async function test()
{
- Bindings.NetworkProject.forTarget(InspectorTest.mainTarget)._resetForTest();
+ Bindings.debuggerWorkspaceBinding._debuggerModelToData.get(InspectorTest.debuggerModel)._resourceMapping._resetForTest();
Bindings.resourceMapping._resetForTest(InspectorTest.mainTarget);
var pageMock = new InspectorTest.PageMock('mock-url.com/frame.html');
pageMock.disableDOMCapability();
var target2 = InspectorTest.connectToPage('mock-target-100', pageMock);
- var networkProject2 = Bindings.NetworkProject.forTarget(target2);
var subframe = InspectorTest.mainFrame().childFrames[0];
var sourcesNavigatorView = new Sources.SourcesNavigatorView();
@@ -142,7 +141,7 @@ async function test()
InspectorTest.addResult("\n\n================================================");
InspectorTest.addResult("Removing all resources:");
- Bindings.NetworkProject.forTarget(target2)._resetForTest();
+ Bindings.debuggerWorkspaceBinding._debuggerModelToData.get(target2.model(SDK.DebuggerModel))._resourceMapping._resetForTest();
InspectorTest.dumpNavigatorViewInAllModes(sourcesNavigatorView);
InspectorTest.dumpNavigatorViewInAllModes(contentScriptsNavigatorView);

Powered by Google App Engine
This is Rietveld 408576698