blob: 5beaa56363403f1f4b9d4bb5593cc1bdf08ed4cb [file] [log] [blame]
CONSOLE MESSAGE: Refused to load http://127.0.0.1:8000/security/contentSecurityPolicy/resources/alert-fail.html because it appears in neither the frame-src directive nor the default-src directive of the Content Security Policy.
Check that a SecurityPolicyViolationEvent is fired upon blocking an frame by the default-src directive.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Kicking off the tests:
PASS window.e.documentURI is "http://127.0.0.1:8000/security/contentSecurityPolicy/1.1/securityviolationpolicy-block-frame-using-default-src.html"
PASS window.e.referrer is ""
PASS window.e.blockedURI is "http://127.0.0.1:8000/security/contentSecurityPolicy/resources/alert-fail.html"
PASS window.e.violatedDirective is "frame-src"
PASS window.e.effectiveDirective is "frame-src"
PASS window.e.originalPolicy is "default-src 'none'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'"
PASS window.e.sourceFile is "http://127.0.0.1:8000/security/contentSecurityPolicy/1.1/securityviolationpolicy-block-frame-using-default-src.html"
PASS window.e.lineNumber is 27
PASS window.e.columnNumber is 30
PASS window.e.statusCode is 200
PASS successfullyParsed is true
TEST COMPLETE