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

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

Issue 954233003: 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, 10 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-style-no-cors-expected.txt
diff --git a/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-style-no-cors-expected.txt b/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-style-no-cors-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5e7d6b52ef1a5f70c55760a8cffd0faba4b20e4
--- /dev/null
+++ b/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-style-no-cors-expected.txt
@@ -0,0 +1,11 @@
+CONSOLE ERROR: Cannot enforce integrity on non-CORS enabled resource.
+The test passes if the style loads and modifies the div to be yellow but that there is also a console error that the integrity cannot be enforced on a non-CORS enabled resource.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS divBackground is "rgb(255, 255, 0)"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698