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

Unified Diff: LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-script-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: Fixed test failures 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-no-cors-expected.txt
diff --git a/LayoutTests/http/tests/security/script-crossorigin-loads-correctly-credentials-2-expected.txt b/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-script-no-cors-expected.txt
similarity index 69%
copy from LayoutTests/http/tests/security/script-crossorigin-loads-correctly-credentials-2-expected.txt
copy to LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-script-no-cors-expected.txt
index 09e9bb666bcb217f6726942893d338709cde1f94..4f13b921750302fb906f0843d8c40de28597266f 100644
--- a/LayoutTests/http/tests/security/script-crossorigin-loads-correctly-credentials-2-expected.txt
+++ b/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-script-no-cors-expected.txt
@@ -1,4 +1,5 @@
CONSOLE ERROR: Script from origin 'http://localhost:8000' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
-This test passes if the inserted script fails to load due to CORS.
+This is a testharness.js-based test.
+PASS SRI on cross origin CORS disabled script
+Harness: the test ran to completion.
-PASS (expected error reported)

Powered by Google App Engine
This is Rietveld 408576698