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

Unified Diff: LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-script-cors-no-xorigin-console-messages.html

Issue 1166003004: SRI fail open on ineligible resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove a bunch of -expected.txt files Created 5 years, 6 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-no-xorigin-console-messages.html
diff --git a/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-script-cors-no-xorigin-console-messages.html b/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-script-cors-no-xorigin-console-messages.html
new file mode 100644
index 0000000000000000000000000000000000000000..dc148411c3ea34bbb23e0b033841413776391e5a
--- /dev/null
+++ b/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-script-cors-no-xorigin-console-messages.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<head>
+ <title>SRI on cross origin CORS enabled script, without CORS fetch</title>
+</head>
+<body>
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ </script>
+ <script integrity="sha256-W3orlTdbaZTGT/1tpmYSvKj6JGlRuMRKZlERGTLzPhk=" src="http://localhost:8000/security/resources/localScript.js"></script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698