OLD | NEW |
1 Check that a SecurityPolicyViolationEvent handler exists, and that events can be
created. | 1 Check that a SecurityPolicyViolationEvent handler exists, and that events can be
created. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS typeof document.onsecuritypolicyviolation is "object" | 6 PASS typeof document.onsecuritypolicyviolation is "object" |
7 PASS typeof SecurityPolicyViolationEvent is "function" | 7 PASS typeof SecurityPolicyViolationEvent is "function" |
8 PASS typeof window.e is "object" | 8 PASS typeof window.e is "object" |
9 PASS window.e.documentURI is "documentURIValue" | 9 PASS window.e.documentURI is "documentURIValue" |
10 PASS window.e.referrer is "referrerValue" | 10 PASS window.e.referrer is "referrerValue" |
11 PASS window.e.blockedURI is "blockedURIValue" | 11 PASS window.e.blockedURI is "blockedURIValue" |
12 PASS window.e.violatedDirective is "violatedDirectiveValue" | 12 PASS window.e.violatedDirective is "violatedDirectiveValue" |
13 PASS window.e.effectiveDirective is "effectiveDirectiveValue" | 13 PASS window.e.effectiveDirective is "effectiveDirectiveValue" |
14 PASS window.e.originalPolicy is "originalPolicyValue" | 14 PASS window.e.originalPolicy is "originalPolicyValue" |
| 15 PASS window.e.disposition is "enforce" |
15 PASS window.e.sourceFile is "sourceFileValue" | 16 PASS window.e.sourceFile is "sourceFileValue" |
16 PASS window.e.lineNumber is 1 | 17 PASS window.e.lineNumber is 1 |
17 PASS window.e.columnNumber is 1 | 18 PASS window.e.columnNumber is 1 |
18 PASS window.e.statusCode is 200 | 19 PASS window.e.statusCode is 200 |
19 PASS successfullyParsed is true | 20 PASS successfullyParsed is true |
20 | 21 |
21 TEST COMPLETE | 22 TEST COMPLETE |
22 | 23 |
OLD | NEW |