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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/style-blocked.html

Issue 2395313002: Revert of Make ResourceFetcher return Resources with LoadError instead of nullptrs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/style-blocked.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/style-blocked.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/style-blocked.html
index 4efdaf5ab0c6a4bc0dc10cfd14028ec7e8be915d..75e152ce2edc505128f1b89822149923aeadb43b 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/style-blocked.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/style-blocked.html
@@ -10,7 +10,7 @@
</head>
<body>
<script>
-document.write(document.styleSheets.length > 0 && document.styleSheets[0].rules.length > 0 ? 'FAIL' : 'PASS');
+document.write(document.styleSheets.length > 0 ? 'FAIL' : 'PASS');
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698