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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/cached-frame-csp-expected.txt

Issue 137233005: CSP: Improve blocked inline script error message. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Yay. Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
1 CONSOLE ERROR: line 5: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'none'". 1 CONSOLE ERROR: line 5: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'none'". Either the 'un safe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is require d to enable inline execution.
2 2
3 CONSOLE ERROR: line 5: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'none'". 3 CONSOLE ERROR: line 5: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'none'". Either the 'un safe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is require d to enable inline execution.
4 4
5 Check that a CSP header added by a 304 response does not override one from the o riginal request. 5 Check that a CSP header added by a 304 response does not override one from the o riginal request.
6 6
7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
8 8
9 9
10 Check that the nonce is the same, meaning that the document was only generated o nce: 10 Check that the nonce is the same, meaning that the document was only generated o nce:
11 PASS frame1.contentDocument.querySelector("input").value == frame2.contentDocume nt.querySelector("input").value is true 11 PASS frame1.contentDocument.querySelector("input").value == frame2.contentDocume nt.querySelector("input").value is true
12 PASS successfullyParsed is true 12 PASS successfullyParsed is true
13 13
14 TEST COMPLETE 14 TEST COMPLETE
15 15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698