зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1037335 - Fix test failures. r=ckerschb
MozReview-Commit-ID: l6V1XlHZ5F --HG-- extra : rebase_source : 76d23e968ee619f2daf7870ec4216acb2af94482
This commit is contained in:
Родитель
5b56656364
Коммит
03fb144c3b
|
@ -0,0 +1,4 @@
|
|||
[base-uri_iframe_sandbox.sub.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
[report-uri-does-not-respect-base-uri.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Event is fired]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[child-src-worker-blocked.sub.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Should throw a securitypolicyviolation event]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
expected: TIMEOUT
|
||||
|
||||
[XHR should fire onerror after a redirect.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Expecting logs: ["Pass","violated-directive=connect-src"\]]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[font-stylesheet-font-blocked.sub.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Test font does not load if it does not match font-src.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
[generic-0_1-img-src.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Violation report status OK.]
|
||||
expected: FAIL
|
||||
|
||||
[Should fire violation events for every failed violation]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
[generic-0_1-script-src.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Violation report status OK.]
|
||||
expected: FAIL
|
||||
|
||||
[Should fire violation events for every failed violation]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[generic-0_10_1.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Should fire violation events for every failed violation]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[generic-0_2_2.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Should fire violation events for every failed violation]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[generic-0_2_3.html]
|
||||
expected: TIMEOUT
|
||||
[Should fire violation events for every failed violation]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[generic-0_8_1.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Should fire violation events for every failed violation]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[media-src-7_1_2.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Test that securitypolicyviolation events are fired]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[media-src-7_2_2.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Test that securitypolicyviolation events are fired]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[media-src-7_3_2.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Test that securitypolicyviolation events are fired]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[media-src-blocked.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Test that securitypolicyviolation events are fired]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
[to-javascript-url-script-src.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[<iframe src='javascript:'> blocked without 'unsafe-inline'.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[<iframe> navigated to 'javascript:' blocked without 'unsafe-inline'.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[<iframe src='...'> with 'unsafe-inline' navigated to 'javascript:' blocked in this document]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[<iframe src='...'> without 'unsafe-inline' navigated to 'javascript:' blocked in this document.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
[reporting-api-report-only-sends-reports-on-violation.https.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Event is fired]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Violation report status OK.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[reporting-api-report-to-overrides-report-uri-1.https.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Event is fired]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[reporting-api-report-to-overrides-report-uri-2.https.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Event is fired]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
[reporting-api-sends-reports-on-violation.https.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Event is fired]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Violation report status OK.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -3,6 +3,3 @@
|
|||
[SecurityPolicyViolationEvent IDL Tests]
|
||||
expected: FAIL
|
||||
|
||||
[Test driver]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[javascript-window-open-blocked.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Check that a securitypolicyviolation event is fired]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[script-src-1_1.html]
|
||||
expected: TIMEOUT
|
||||
[Should not fire policy violation events]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[script-src-1_10.html]
|
||||
expected: TIMEOUT
|
||||
[Test that securitypolicyviolation event is fired]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
type: testharness
|
||||
disabled:
|
||||
if os == "win": bug 1172411
|
||||
expected: TIMEOUT
|
||||
[Should not fire policy violation events]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
type: testharness
|
||||
disabled:
|
||||
if os == "win": bug 1094323
|
||||
expected: TIMEOUT
|
||||
[Test that securitypolicyviolation event is fired]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
[script-src-1_4.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[eval() should throw without 'unsafe-eval' keyword source in script-src directive.]
|
||||
expected: FAIL
|
||||
|
||||
[Test that securitypolicyviolation event is fired]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
type: testharness
|
||||
disabled:
|
||||
if os == "win": bug 1094323
|
||||
expected: TIMEOUT
|
||||
[Test that securitypolicyviolation event is fired]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
[script-src-1_4_2.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Unsafe eval ran in Function() constructor.]
|
||||
expected: FAIL
|
||||
|
||||
[Test that securitypolicyviolation event is fired]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
[script-src-report-only-policy-works-with-external-hash-policy.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[External script in a script tag with matching SRI hash should run.]
|
||||
expected: FAIL
|
||||
|
||||
[Should fire securitypolicyviolation event]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[script-src-report-only-policy-works-with-hash-policy.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Test that the securitypolicyviolation event is fired]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[script-src-strict_dynamic_discard_whitelist.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Whitelisted script without a correct nonce is not allowed with `strict-dynamic`.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[script-src-strict_dynamic_double_policy_different_nonce.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Unnonced script injected via `appendChild` is not allowed with `strict-dynamic` + a nonce-only double policy.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[script-src-strict_dynamic_double_policy_report_only.html]
|
||||
type: testharness
|
||||
[Script injected via `appendChild` is allowed with `strict-dynamic` + Report-Only `script-src \'none\'` policy.]
|
||||
expected: FAIL
|
|
@ -0,0 +1,4 @@
|
|||
[script-src-strict_dynamic_hashes.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
[script-src-strict_dynamic_javascript_uri.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Script injected via `javascript:` URIs are not allowed with `strict-dynamic`.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[script-src-strict_dynamic_non_parser_inserted_incorrect_nonce.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[All the expected CSP violation reports have been fired.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -2,28 +2,28 @@
|
|||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Parser-inserted script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Parser-inserted script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Parser-inserted deferred script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Parser-inserted deferred script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Parser-inserted async script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Parser-inserted async script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Parser-inserted deferred async script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Parser-inserted deferred async script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Script injected via `innerHTML` is not allowed with `strict-dynamic`.]
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[scripthash-unicode-normalization.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Should fire securitypolicyviolation]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[scriptnonce-and-scripthash.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Expecting alerts: ["PASS (1/3)","PASS (2/3)","PASS (3/3)"\]]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[scriptnonce-ignore-unsafeinline.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Expecting alerts: ["PASS (1/2)","PASS (2/2)", "violated-directive=script-src"\]]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[blockeduri-inline.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Inline violations have a blockedURI of 'inline']
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,122 +1,3 @@
|
|||
[idl.html]
|
||||
type: testharness
|
||||
[SecurityPolicyViolationEvent interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: existence and properties of interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: existence and properties of interface prototype object's "constructor" property]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: attribute documentURI]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: attribute referrer]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: attribute blockedURI]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: attribute violatedDirective]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: attribute effectiveDirective]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: attribute originalPolicy]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: attribute sourceFile]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: attribute disposition]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: attribute statusCode]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: attribute lineNumber]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: attribute columnNumber]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent must be primary interface of new SecurityPolicyViolationEvent({})]
|
||||
expected: FAIL
|
||||
|
||||
[Stringification of new SecurityPolicyViolationEvent({})]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "documentURI" with the proper type (0)]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "referrer" with the proper type (1)]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "blockedURI" with the proper type (2)]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "violatedDirective" with the proper type (3)]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "effectiveDirective" with the proper type (4)]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "originalPolicy" with the proper type (5)]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "sourceFile" with the proper type (6)]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "disposition" with the proper type (7)]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "statusCode" with the proper type (8)]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "lineNumber" with the proper type (9)]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "columnNumber" with the proper type (10)]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "documentURI" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "referrer" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "blockedURI" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "violatedDirective" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "effectiveDirective" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "originalPolicy" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "sourceFile" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "disposition" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "statusCode" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "lineNumber" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[SecurityPolicyViolationEvent interface: new SecurityPolicyViolationEvent({}) must inherit property "columnNumber" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
[img-src-redirect-upgrade-reporting.https.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Image that redirects to http:// URL prohibited by Report-Only must generate a violation report, even with upgrade-insecure-requests]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[securitypolicyviolation-block-cross-origin-image-from-script.sub.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Non-redirected cross-origin URLs are not stripped.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[securitypolicyviolation-block-cross-origin-image.sub.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Non-redirected cross-origin URLs are not stripped.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[securitypolicyviolation-block-image-from-script.sub.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Non-redirected cross-origin URLs are not stripped.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[securitypolicyviolation-block-image.sub.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Non-redirected same-origin URLs are not stripped.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
expected: NOTRUN
|
||||
|
||||
[Inline violations target the right element.]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Correct targeting inside shadow tree (inline handler).]
|
||||
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1404842
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[inline-style-allowed-while-cloning-objects.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Test that violation report event was fired]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[style-src-hash-blocked.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Should fire a securitypolicyviolation event]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[style-src-injected-inline-style-blocked.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Should fire a securitypolicyviolation event]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[style-src-injected-stylesheet-blocked.sub.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Should fire a securitypolicyviolation event]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[style-src-inline-style-attribute-blocked.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Should fire a securitypolicyviolation event]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[style-src-inline-style-blocked.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Should fire a securitypolicyviolation event]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Should fire a securitypolicyviolation event]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[Test that paragraph remains unmodified and error events received.]
|
||||
expected: NOTRUN
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[style-src-inline-style-nonce-blocked.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Should fire a securitypolicyviolation event]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[style-src-none-blocked.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Should fire a securitypolicyviolation event]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[style-src-stylesheet-nonce-blocked.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Should fire a securitypolicyviolation event]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[stylehash-basic-blocked.sub.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Expecting alerts: ["PASS: The 'p' element's text is green, which means the style was correctly applied."\]]
|
||||
[Expecting alerts: ["PASS: The 'p' element's text is green, which means the style was correctly applied.", "violated-directive=style-src"\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
[stylenonce-allowed.sub.html]
|
||||
expected: TIMEOUT
|
||||
type: testharness
|
||||
[Should fire securitypolicyviolation]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
[stylenonce-blocked.sub.html]
|
||||
expected: TIMEOUT
|
||||
type: testharness
|
||||
[Should fire securitypolicyviolation]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[object-in-svg-foreignobject.sub.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Should throw a securitypolicyviolation]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[svg-inline.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Should fire violation event]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[script_event_handlers_allowed.html]
|
||||
expected: TIMEOUT
|
||||
[Test that the inline event handler is allowed to run]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[script_event_handlers_denied_matching_hash_no_unsafe_inline_attribute.html]
|
||||
expected: TIMEOUT
|
||||
[Test that the inline event handler is not allowed to run]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[script_event_handlers_denied_not_matching_hash.html]
|
||||
expected: TIMEOUT
|
||||
[Test that the inline event handler is not allowed to run]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
long lineNumber;
|
||||
long columnNumber;
|
||||
};
|
||||
|
||||
interface Event {
|
||||
};
|
||||
</script>
|
||||
<script type="text/plain" id="tested">
|
||||
[Constructor(DOMString type, optional SecurityPolicyViolationEventInit eventInitDict)]
|
||||
|
|
Загрузка…
Ссылка в новой задаче