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

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

Issue 26770004: Add console message levels to test expectation output. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tests. Created 7 years, 2 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 MESSAGE: Refused to load the script 'http://127.0.0.1:8000/security/cont entSecurityPolicy/resources/script.js' because it violates the following Content Security Policy directive: "script-src 'nonce-nonce'". 1 CONSOLE ERROR: Refused to load the script 'http://127.0.0.1:8000/security/conten tSecurityPolicy/resources/script.js' because it violates the following Content S ecurity Policy directive: "script-src 'nonce-nonce'".
2 2
3 CONSOLE MESSAGE: Refused to load the script 'http://127.0.0.1:8000/security/cont entSecurityPolicy/resources/script.js' because it violates the following Content Security Policy directive: "script-src 'nonce-notnonce'". 3 CONSOLE ERROR: Refused to load the script 'http://127.0.0.1:8000/security/conten tSecurityPolicy/resources/script.js' because it violates the following Content S ecurity Policy directive: "script-src 'nonce-notnonce'".
4 4
5 Only the first two of these scripts should execute even though there are parse e rrors in the policy. 5 Only the first two of these scripts should execute even though there are parse e rrors in the policy.
6 6
7 7
8 8
9 -------- 9 --------
10 Frame: '<!--framePath //<!--frame0-->-->' 10 Frame: '<!--framePath //<!--frame0-->-->'
11 -------- 11 --------
12 PASS 12 PASS
13 13
14 -------- 14 --------
15 Frame: '<!--framePath //<!--frame1-->-->' 15 Frame: '<!--framePath //<!--frame1-->-->'
16 -------- 16 --------
17 PASS 17 PASS
18 18
19 -------- 19 --------
20 Frame: '<!--framePath //<!--frame2-->-->' 20 Frame: '<!--framePath //<!--frame2-->-->'
21 -------- 21 --------
22 PASS 22 PASS
23 23
24 -------- 24 --------
25 Frame: '<!--framePath //<!--frame3-->-->' 25 Frame: '<!--framePath //<!--frame3-->-->'
26 -------- 26 --------
27 PASS 27 PASS
28 28
29 -------- 29 --------
30 Frame: '<!--framePath //<!--frame4-->-->' 30 Frame: '<!--framePath //<!--frame4-->-->'
31 -------- 31 --------
32 PASS 32 PASS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698