OLD | NEW |
1 CONSOLE MESSAGE: Refused to connect to 'http://not.example.com/' because it viol
ates the following Content Security Policy directive: "connect-src http://exampl
e.com". | 1 CONSOLE MESSAGE: Refused to connect to 'http://not.example.com/' because it viol
ates the following Content Security Policy directive: "connect-src http://exampl
e.com". |
2 | 2 |
3 This tests that exceptions thrown by XHR.open() have reasonable messages. | 3 This tests that exceptions thrown by XHR.open() have reasonable messages. |
4 | 4 |
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
6 | 6 |
7 | 7 |
8 PASS xhrException.message is "'XMLHttpRequest.open' does not support the 'TRACE'
method." | 8 PASS xhrException.message is "Failed to execute 'open' on 'XMLHttpRequest': 'TRA
CE' HTTP method is unsupported." |
9 PASS xhrException.message is "Refused to connect to 'http://not.example.com/' be
cause it violates the document's Content Security Policy." | 9 PASS xhrException.message is "Refused to connect to 'http://not.example.com/' be
cause it violates the document's Content Security Policy." |
10 PASS successfullyParsed is true | 10 PASS successfullyParsed is true |
11 | 11 |
12 TEST COMPLETE | 12 TEST COMPLETE |
13 | 13 |
OLD | NEW |