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/source-list-parsing-05-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 127.0.0.1:*/path". 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 127.0.0.1:*/path".
2 2
3 CONSOLE MESSAGE: The source list for Content Security Policy directive 'script-s rc' contains a source with an invalid path: '/path?query=string'. The query comp onent, including the '?', will be ignored. 3 CONSOLE ERROR: The source list for Content Security Policy directive 'script-src ' contains a source with an invalid path: '/path?query=string'. The query compon ent, including the '?', will be ignored.
4 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 127.0.0.1:*/path?query=string". 4 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 127.0.0.1:*/path?query=string".
5 5
6 CONSOLE MESSAGE: The source list for Content Security Policy directive 'script-s rc' contains a source with an invalid path: '/path#anchor'. The fragment identif ier, including the '#', will be ignored. 6 CONSOLE ERROR: The source list for Content Security Policy directive 'script-src ' contains a source with an invalid path: '/path#anchor'. The fragment identifie r, including the '#', will be ignored.
7 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 127.0.0.1:*/path#anchor". 7 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 127.0.0.1:*/path#anchor".
8 8
9 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 127.0.0.1:8000/path". 9 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 127.0.0.1:8000/path".
10 10
11 CONSOLE MESSAGE: The source list for Content Security Policy directive 'script-s rc' contains a source with an invalid path: '/path?query=string'. The query comp onent, including the '?', will be ignored. 11 CONSOLE ERROR: The source list for Content Security Policy directive 'script-src ' contains a source with an invalid path: '/path?query=string'. The query compon ent, including the '?', will be ignored.
12 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 127.0.0.1:8000/path?query=string". 12 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 127.0.0.1:8000/path?query=string".
13 13
14 CONSOLE MESSAGE: The source list for Content Security Policy directive 'script-s rc' contains a source with an invalid path: '/path#anchor'. The fragment identif ier, including the '#', will be ignored. 14 CONSOLE ERROR: The source list for Content Security Policy directive 'script-src ' contains a source with an invalid path: '/path#anchor'. The fragment identifie r, including the '#', will be ignored.
15 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 127.0.0.1:8000/path#anchor". 15 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 127.0.0.1:8000/path#anchor".
16 16
17 CONSOLE MESSAGE: Unrecognized Content-Security-Policy directive 'pathwithasemico lon'. 17 CONSOLE ERROR: Unrecognized Content-Security-Policy directive 'pathwithasemicolo n'.
18 18
19 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 127.0.0.1:8000/thisisa". 19 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 127.0.0.1:8000/thisisa".
20 20
21 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 127.0.0.1:8000/this is a path with space s". 21 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 127.0.0.1:8000/this is a path with spaces" .
22 22
23 Paths should be ignored when evaluating sources. This test passes if FAIL does n ot appear in the output, and each of the tests generates a warning about the pat h component. 23 Paths should be ignored when evaluating sources. This test passes if FAIL does n ot appear in the output, and each of the tests generates a warning about the pat h component.
24 24
25 25
26 26
27 -------- 27 --------
28 Frame: '<!--framePath //<!--frame0-->-->' 28 Frame: '<!--framePath //<!--frame0-->-->'
29 -------- 29 --------
30 PASS 30 PASS
31 31
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 -------- 67 --------
68 Frame: '<!--framePath //<!--frame8-->-->' 68 Frame: '<!--framePath //<!--frame8-->-->'
69 -------- 69 --------
70 PASS 70 PASS
71 71
72 -------- 72 --------
73 Frame: '<!--framePath //<!--frame9-->-->' 73 Frame: '<!--framePath //<!--frame9-->-->'
74 -------- 74 --------
75 PASS 75 PASS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698