blob: 8eb1befc09194c2bd565ac70a1f34fd7b1563949 [file] [log] [blame]
CONSOLE MESSAGE: Refused to connect to non-existent-file because it does not appear in the connect-src directive of the Content Security Policy.
This tests that the Content Security Policy (CSP) of the owner document (this page) blocks a file-URL Web Worker from making an XHR request because the parent's CSP contains "connect-src 'none'"
PASS threw exception NetworkError (DOM Exception 19): A network error occurred..