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

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

Issue 2893073002: DevTools: introduce ResourceMapping (Closed)
Patch Set: address comments 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 e90f073a46b640de40c6eb74ccbf684caa9aa485..574a29a500cee38aed6bee4c15bed979a1f32db6 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/navigator-view.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/navigator-view.html
@@ -7,8 +7,8 @@
<script>
async function test()
{
- var networkProject1 = Bindings.NetworkProject.forTarget(InspectorTest.mainTarget);
- networkProject1._reset();
+ Bindings.NetworkProject.forTarget(InspectorTest.mainTarget)._resetForTest();
+ Bindings.resourceMapping._resetForTest(InspectorTest.mainTarget);
var pageMock = new InspectorTest.PageMock('mock-url.com/frame.html');
pageMock.disableDOMCapability();
@@ -142,7 +142,7 @@ async function test()
InspectorTest.addResult("\n\n================================================");
InspectorTest.addResult("Removing all resources:");
- networkProject2._reset();
+ Bindings.NetworkProject.forTarget(target2)._resetForTest();
InspectorTest.dumpNavigatorViewInAllModes(sourcesNavigatorView);
InspectorTest.dumpNavigatorViewInAllModes(contentScriptsNavigatorView);

Powered by Google App Engine
This is Rietveld 408576698