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

Side by Side 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: Rebase on ToT 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
(Empty)
1 CONSOLE ERROR: Subresource Integrity: The resource 'http://localhost:8000/securi ty/resources/cors-script.php?credentials=true&cors=false&value=true' has an inte grity attribute, but the resource requires CORS to be enabled to check the integ rity, and it is not. The resource has been blocked.
2 The test passes if the script fails to run and there is also a console error say ing that the specified integrity attribute cannot be enforced because the resour ce is not CORS enabled.
3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5
6
7 PASS Script did not run.
8 PASS successfullyParsed is true
9
10 TEST COMPLETE
11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698