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

Unified Diff: LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.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/resource-tree/resource-tree-invalid-mime-type-css-content.html
diff --git a/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html b/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html
index 9f43f5dc2982f5ea362195dba103fe635d2db0b3..d9c71d4a3cf305d0182e30e7a843c85c9125a4d2 100644
--- a/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html
+++ b/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html
@@ -19,7 +19,7 @@ function test()
cssResource = resource;
}
InspectorTest.addResult(cssResource.url);
- InspectorTest.assertEquals(cssResource.type, WebInspector.resourceTypes.Stylesheet, "Resource type should be Stylesheet.");
+ InspectorTest.assertEquals(cssResource.resourceType(), WebInspector.resourceTypes.Stylesheet, "Resource type should be Stylesheet.");
InspectorTest.assertTrue(!cssResource.failed, "Resource loading failed.");
cssResource.requestContent(step2);
}

Powered by Google App Engine
This is Rietveld 408576698