haikuwebkit/LayoutTests/security/contentSecurityPolicy/worker-inherits-blocks-xhr-...

4 lines
259 B
Plaintext

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: A network error occurred..