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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-check-for-zero-size-css.html

Issue 2418083002: Fix LinkStyle SRI check when against 0 sized resource. (Closed)
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/subresourceIntegrity/subresource-integrity-check-for-zero-size-css.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-check-for-zero-size-css.html b/third_party/WebKit/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-check-for-zero-size-css.html
new file mode 100644
index 0000000000000000000000000000000000000000..e5d247caaadb36c4f9c1fbace56b06b46e5eff05
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-check-for-zero-size-css.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
jww 2016/10/14 17:42:11 Can you please write this as a testharness test? T
kouhei (in TOK) 2016/10/17 01:23:38 Done.
+<link rel="stylesheet" type="text/css" href="resources/empty.css" integrity="sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=">
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
+<div>PASS: This test shouldn't crash on debug builds.</div>

Powered by Google App Engine
This is Rietveld 408576698