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

Side by Side Diff: LayoutTests/http/tests/security/isolatedWorld/bypass-main-world-csp-for-xhr-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 connect to 'http://localhost:8000/security/isolatedW orld/resources/cross-origin-xhr.txt' because it violates the following Content S ecurity Policy directive: "connect-src 'none'". 1 CONSOLE ERROR: Refused to connect to 'http://localhost:8000/security/isolatedWor ld/resources/cross-origin-xhr.txt' because it violates the following Content Sec urity Policy directive: "connect-src 'none'".
2 2
3 CONSOLE MESSAGE: Refused to connect to 'http://localhost:8000/security/isolatedW orld/resources/cross-origin-xhr.txt' because it violates the following Content S ecurity Policy directive: "connect-src 'none'". 3 CONSOLE ERROR: Refused to connect to 'http://localhost:8000/security/isolatedWor ld/resources/cross-origin-xhr.txt' because it violates the following Content Sec urity Policy directive: "connect-src 'none'".
4 4
5 CONSOLE MESSAGE: Refused to connect to 'http://localhost:8000/security/isolatedW orld/resources/cross-origin-xhr.txt' because it violates the following Content S ecurity Policy directive: "connect-src 'none'". 5 CONSOLE ERROR: Refused to connect to 'http://localhost:8000/security/isolatedWor ld/resources/cross-origin-xhr.txt' because it violates the following Content Sec urity Policy directive: "connect-src 'none'".
6 6
7 CONSOLE MESSAGE: Refused to connect to 'http://localhost:8000/security/isolatedW orld/resources/cross-origin-xhr.txt' because it violates the following Content S ecurity Policy directive: "connect-src 'none'". 7 CONSOLE ERROR: Refused to connect to 'http://localhost:8000/security/isolatedWor ld/resources/cross-origin-xhr.txt' because it violates the following Content Sec urity Policy directive: "connect-src 'none'".
8 8
9 Tests that isolated worlds can have XHRs that the page's CSP wouldn't allow. 9 Tests that isolated worlds can have XHRs that the page's CSP wouldn't allow.
10 10
11 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 11 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
12 12
13 13
14 XHR from main world 14 XHR from main world
15 PASS: XHR.open threw an exception. 15 PASS: XHR.open threw an exception.
16 XHR from isolated world with unchanged CSP 16 XHR from isolated world with unchanged CSP
17 PASS: XHR.open threw an exception. 17 PASS: XHR.open threw an exception.
18 XHR from isolated world with same security origin as XHR target. 18 XHR from isolated world with same security origin as XHR target.
19 PASS: XHR.open threw an exception. 19 PASS: XHR.open threw an exception.
20 XHR from isolated world with same security origin as XHR target, and looser CSP. 20 XHR from isolated world with same security origin as XHR target, and looser CSP.
21 PASS: XHR.open did not throw an exception. 21 PASS: XHR.open did not throw an exception.
22 XHR from main world is not affected by the isolated world origin or CSP 22 XHR from main world is not affected by the isolated world origin or CSP
23 PASS: XHR.open threw an exception. 23 PASS: XHR.open threw an exception.
24 PASS successfullyParsed is true 24 PASS successfullyParsed is true
25 25
26 TEST COMPLETE 26 TEST COMPLETE
27 27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698