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

Side by Side 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: 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-style.php?credentials=true&cors=false' has an integrity attrib ute, but the resource requires CORS to be enabled to check the integrity, and it is not. The resource has been blocked.
2 The test passes if the style fails to load 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 divBackground is "rgb(255, 0, 0)"
8 PASS successfullyParsed is true
9
10 TEST COMPLETE
11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698