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

Unified Diff: LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-script-cors-bad-integrity-expected.txt

Issue 997153003: Recommit Enable SRI only for same origin and CORS content (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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/security/subresourceIntegrity/subresource-integrity-script-cors-bad-integrity-expected.txt
diff --git a/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-script-cors-bad-integrity-expected.txt b/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-script-cors-bad-integrity-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd0c12bc6f2c96e77b12da3a39c41d79575da515
--- /dev/null
+++ b/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-script-cors-bad-integrity-expected.txt
@@ -0,0 +1,5 @@
+CONSOLE ERROR: The computed SHA-256 integrity 'mk_DwEwGGoyrh4sgi9t0nYTO1Lrft3w6vzaNuMaZrtQ=' does not match the 'integrity' attribute 'deadbeef' for resource 'http://localhost:8000/security/resources/cors-script.php?value=ran'.
+This is a testharness.js-based test.
+PASS SRI on cross origin CORS enabled script, with bad integrity
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698