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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-invalidnonce-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: The source list for Content Security Policy directive 'script-s rc' contains an invalid source: ''nonce-''. It will be ignored. 1 CONSOLE ERROR: The source list for Content Security Policy directive 'script-src ' contains an invalid source: ''nonce-''. It will be ignored.
2 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-'". 2 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-'".
3 3
4 CONSOLE MESSAGE: The source list for Content Security Policy directive 'script-s rc' contains an invalid source: ''nonce-'. It will be ignored. 4 CONSOLE ERROR: The source list for Content Security Policy directive 'script-src ' contains an invalid source: ''nonce-'. It will be ignored.
5 CONSOLE MESSAGE: The source list for Content Security Policy directive 'script-s rc' contains an invalid source: '''. It will be ignored. 5 CONSOLE ERROR: The source list for Content Security Policy directive 'script-src ' contains an invalid source: '''. It will be ignored.
6 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- '". 6 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- '".
7 7
8 CONSOLE MESSAGE: The source list for Content Security Policy directive 'script-s rc' contains an invalid source: ''nonce-'. It will be ignored. 8 CONSOLE ERROR: The source list for Content Security Policy directive 'script-src ' contains an invalid source: ''nonce-'. It will be ignored.
9 CONSOLE MESSAGE: The source list for Content Security Policy directive 'script-s rc' contains an invalid source: '''. It will be ignored. 9 CONSOLE ERROR: The source list for Content Security Policy directive 'script-src ' contains an invalid source: '''. It will be ignored.
10 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- '". 10 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- '".
11 11
12 CONSOLE MESSAGE: The source list for Content Security Policy directive 'script-s rc' contains an invalid source: ''nonce-'. It will be ignored. 12 CONSOLE ERROR: The source list for Content Security Policy directive 'script-src ' contains an invalid source: ''nonce-'. It will be ignored.
13 CONSOLE MESSAGE: The source list for Content Security Policy directive 'script-s rc' contains an invalid source: 'spaces''. It will be ignored. 13 CONSOLE ERROR: The source list for Content Security Policy directive 'script-src ' contains an invalid source: 'spaces''. It will be ignored.
14 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- nonces have no spaces'". 14 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- nonces have no spaces'".
15 15
16 CONSOLE MESSAGE: The source list for Content Security Policy directive 'script-s rc' contains an invalid source: ''nonce-{}''. It will be ignored. 16 CONSOLE ERROR: The source list for Content Security Policy directive 'script-src ' contains an invalid source: ''nonce-{}''. It will be ignored.
17 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-{}'". 17 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-{}'".
18 18
19 CONSOLE MESSAGE: The source list for Content Security Policy directive 'script-s rc' contains an invalid source: ''nonce-/\''. It will be ignored. 19 CONSOLE ERROR: The source list for Content Security Policy directive 'script-src ' contains an invalid source: ''nonce-/\''. It will be ignored.
20 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-/\'". 20 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-/\'".
21 21
22 None of these scripts should execute, as all the nonces are invalid. 22 None of these scripts should execute, as all the nonces are invalid.
23 23
24 24
25 25
26 -------- 26 --------
27 Frame: '<!--framePath //<!--frame0-->-->' 27 Frame: '<!--framePath //<!--frame0-->-->'
28 -------- 28 --------
29 PASS 29 PASS
30 30
(...skipping 14 matching lines...) Expand all
45 45
46 -------- 46 --------
47 Frame: '<!--framePath //<!--frame4-->-->' 47 Frame: '<!--framePath //<!--frame4-->-->'
48 -------- 48 --------
49 PASS 49 PASS
50 50
51 -------- 51 --------
52 Frame: '<!--framePath //<!--frame5-->-->' 52 Frame: '<!--framePath //<!--frame5-->-->'
53 -------- 53 --------
54 PASS 54 PASS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698