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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-basic-blocked-expected.txt

Issue 1274713004: Modify SRI and CSP console messages to base64 hashes, not base64url. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: More test updates Created 5 years, 4 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 ALERT: PASS (1/2) 1 ALERT: PASS (1/2)
2 ALERT: PASS (2/2) 2 ALERT: PASS (2/2)
3 CONSOLE ERROR: line 13: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'nonce-noncynonce'". E ither the 'unsafe-inline' keyword, a hash ('sha256-1RpMm8CnZ3w3FNN-LbHHalT1URf5M lDZCUee2MAF0_U='), or a nonce ('nonce-...') is required to enable inline executi on. 3 CONSOLE ERROR: line 13: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'nonce-noncynonce'". E ither the 'unsafe-inline' keyword, a hash ('sha256-1RpMm8CnZ3w3FNN+LbHHalT1URf5M lDZCUee2MAF0/U='), or a nonce ('nonce-...') is required to enable inline executi on.
4 4
5 CONSOLE ERROR: line 16: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'nonce-noncynonce'". E ither the 'unsafe-inline' keyword, a hash ('sha256-aA5X7j5nr6U308mrny9CeIP0WyoPj aNn_0piYZqVL7I='), or a nonce ('nonce-...') is required to enable inline executi on. 5 CONSOLE ERROR: line 16: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'nonce-noncynonce'". E ither the 'unsafe-inline' keyword, a hash ('sha256-aA5X7j5nr6U308mrny9CeIP0WyoPj aNn/0piYZqVL7I='), or a nonce ('nonce-...') is required to enable inline executi on.
6 6
7 CONSOLE ERROR: line 19: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'nonce-noncynonce'". E ither the 'unsafe-inline' keyword, a hash ('sha256-DnnF--Kbf_s2EyTBk12Rw2Ouq__L7 GY5pcHSc6IZe6U='), or a nonce ('nonce-...') is required to enable inline executi on. 7 CONSOLE ERROR: line 19: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'nonce-noncynonce'". E ither the 'unsafe-inline' keyword, a hash ('sha256-DnnF++Kbf/s2EyTBk12Rw2Ouq//L7 GY5pcHSc6IZe6U='), or a nonce ('nonce-...') is required to enable inline executi on.
8 8
9 This tests the effect of a valid script-nonce value. It passes if three console warnings are visible, and the two PASS alerts are executed. 9 This tests the effect of a valid script-nonce value. It passes if three console warnings are visible, and the two PASS alerts are executed.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698