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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/stylehash-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 CONSOLE ERROR: line 6: Refused to apply inline style because it violates the fol lowing Content Security Policy directive: "style-src 'sha1-pfeR5wMA6np45oqDTP6Pj 3tLpJo='". Either the 'unsafe-inline' keyword, a hash ('sha256-pckGv9YvNcB5xy-Y4 fbqhyo-ib850wyiuWeNbZvLi00='), or a nonce ('nonce-...') is required to enable in line execution. 1 CONSOLE ERROR: line 6: Refused to apply inline style because it violates the fol lowing Content Security Policy directive: "style-src 'sha1-pfeR5wMA6np45oqDTP6Pj 3tLpJo='". Either the 'unsafe-inline' keyword, a hash ('sha256-pckGv9YvNcB5xy+Y4 fbqhyo+ib850wyiuWeNbZvLi00='), or a nonce ('nonce-...') is required to enable in line execution.
2 2
3 CONSOLE ERROR: line 7: Refused to apply inline style because it violates the fol lowing Content Security Policy directive: "style-src 'sha1-pfeR5wMA6np45oqDTP6Pj 3tLpJo='". Either the 'unsafe-inline' keyword, a hash ('sha256-QtAhp-kqgljyNFcV4 FsL0pofPI_L7IVXid6JT5PtsZA='), or a nonce ('nonce-...') is required to enable in line execution. 3 CONSOLE ERROR: line 7: Refused to apply inline style because it violates the fol lowing Content Security Policy directive: "style-src 'sha1-pfeR5wMA6np45oqDTP6Pj 3tLpJo='". Either the 'unsafe-inline' keyword, a hash ('sha256-QtAhp+kqgljyNFcV4 FsL0pofPI/L7IVXid6JT5PtsZA='), or a nonce ('nonce-...') is required to enable in line execution.
4 4
5 CONSOLE ERROR: line 8: Refused to apply inline style because it violates the fol lowing Content Security Policy directive: "style-src 'sha1-pfeR5wMA6np45oqDTP6Pj 3tLpJo='". Either the 'unsafe-inline' keyword, a hash ('sha256-QSqLgiKqPxCeZH1d3 vWR-4HJOthCVhvG1P_AFaVJfR4='), or a nonce ('nonce-...') is required to enable in line execution. 5 CONSOLE ERROR: line 8: Refused to apply inline style because it violates the fol lowing Content Security Policy directive: "style-src 'sha1-pfeR5wMA6np45oqDTP6Pj 3tLpJo='". Either the 'unsafe-inline' keyword, a hash ('sha256-QSqLgiKqPxCeZH1d3 vWR+4HJOthCVhvG1P/AFaVJfR4='), or a nonce ('nonce-...') is required to enable in line execution.
6 6
7 ALERT: PASS: The 'p' element's text is green, which means the style was correctl y applied. 7 ALERT: PASS: The 'p' element's text is green, which means the style was correctl y applied.
8 This tests the effect of a valid style-hash value, with one valid style and seve ral invalid ones. It passes if the valid style is applied and three console warn ings are visible. 8 This tests the effect of a valid style-hash value, with one valid style and seve ral invalid ones. It passes if the valid style is applied and three console warn ings are visible.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698