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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/network/download.html

Issue 2921963002: [Devtools] Removed NetworkRequest dependency on NetworkManager (Closed)
Patch Set: Merge branch 'REMOVE_REDIRECTS_REBASE' into REMOVE_MANAGER_DEPENDENCY 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/network/json-preview.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/network/download.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/download.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/download.html
index 65ea094a27ba21763296f94a9cf3e51251ba72a4..db9e74f2f7e9f32f6b18e7390a74806552087b49 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/download.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/download.html
@@ -18,7 +18,7 @@ function test()
function responseReceived(requestId, time, resourceType, response)
{
- var request = InspectorTest.networkLog.requestForId(InspectorTest.networkManager, requestId);
+ var request = InspectorTest.networkLog.requestByManagerAndId(InspectorTest.networkManager, requestId);
if (/download\.zzz/.exec(request.url())) {
InspectorTest.addResult("Received response for download.zzz");
InspectorTest.addResult("SUCCESS");
@@ -28,14 +28,14 @@ function test()
function loadingFinished(requestId, finishTime)
{
- var request = InspectorTest.networkLog.requestForId(InspectorTest.networkManager, requestId);
+ var request = InspectorTest.networkLog.requestByManagerAndId(InspectorTest.networkManager, requestId);
if (/download\.zzz/.exec(request.url()))
InspectorTest.completeTest();
}
function loadingFailed(requestId, time, localizedDescription, canceled)
{
- var request = InspectorTest.networkLog.requestForId(InspectorTest.networkManager, requestId);
+ var request = InspectorTest.networkLog.requestByManagerAndId(InspectorTest.networkManager, requestId);
if (/download\.zzz/.exec(request.url()))
InspectorTest.completeTest();
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/network/json-preview.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698