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

Side by Side Diff: LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-script-no-cors-bad-integrity-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 unified diff | Download patch
OLDNEW
1 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. 1 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.
2 This test passes if the inserted script fails to load due to CORS. 2 This is a testharness.js-based test.
3 PASS SRI on cross origin CORS disabled script, with bad integrity
4 Harness: the test ran to completion.
3 5
4 PASS (expected error reported)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698