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

Unified Diff: LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html

Issue 667743002: DevTools: remove "type" getters in Resource and NetworkRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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: LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html
diff --git a/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html b/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html
index 00c4ab67d67bafbbeaa9b41c5634bd92caa6210d..02253bba2c780aeda71815b5569247c27b647384 100644
--- a/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html
+++ b/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html
@@ -55,7 +55,7 @@ function test()
function step3()
{
InspectorTest.addResult(imageRequest.url);
- InspectorTest.addResult("request.type: " + imageRequest.type);
+ InspectorTest.addResult("request.type: " + imageRequest.resourceType());
InspectorTest.addResult("request.content.length after requesting content: " + imageRequest.content.length);
originalContentLength = imageRequest.content.length;
InspectorTest.assertTrue(imageRequest.content.length > 0, "No content before destroying CachedResource.");

Powered by Google App Engine
This is Rietveld 408576698