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

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

Issue 2893073002: DevTools: introduce ResourceMapping (Closed)
Patch Set: cleanup test Created 3 years, 7 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..ae936aa3d9ebee802ecc859ebcdd03588a76c197 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.ResourceBinding.forTarget(InspectorTest.mainTarget)._resetForTest();
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