diff options
Diffstat (limited to 'testing/web-platform/meta/content-security-policy/securitypolicyviolation')
19 files changed, 142 insertions, 0 deletions
diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/__dir__.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/__dir__.ini new file mode 100644 index 0000000000..af3fba20e4 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/__dir__.ini @@ -0,0 +1 @@ +lsan-allowed: [Alloc, Create, Malloc, Then, mozilla::BasePrincipal::CreateContentPrincipal, mozilla::dom::DocGroup::Create, mozilla::dom::ServiceWorkerJobQueue::RunJob, mozilla::dom::ServiceWorkerManager::Unregister, mozilla::dom::ServiceWorkerRegistrationMainThread::Unregister, mozilla::dom::UnregisterCallback::UnregisterCallback, mozilla::net::nsStandardURL::TemplatedMutator, operator] diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/blockeduri-ws-wss-scheme.html.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/blockeduri-ws-wss-scheme.html.ini new file mode 100644 index 0000000000..14fa5353a9 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/blockeduri-ws-wss-scheme.html.ini @@ -0,0 +1,3 @@ +[blockeduri-ws-wss-scheme.html] + [redirect] + expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/constructor-required-fields.html.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/constructor-required-fields.html.ini new file mode 100644 index 0000000000..2f9acb5fd2 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/constructor-required-fields.html.ini @@ -0,0 +1,19 @@ +[constructor-required-fields.html] + [SecurityPolicyViolationEvent constructor requires statusCode] + expected: FAIL + + [SecurityPolicyViolationEvent constructor requires effectiveDirective] + expected: FAIL + + [SecurityPolicyViolationEvent constructor requires originalPolicy] + expected: FAIL + + [SecurityPolicyViolationEvent constructor requires violatedDirective] + expected: FAIL + + [SecurityPolicyViolationEvent constructor requires disposition] + expected: FAIL + + [SecurityPolicyViolationEvent constructor requires documentURI] + expected: FAIL + diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/idlharness.window.js.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/idlharness.window.js.ini new file mode 100644 index 0000000000..e5dab8bd61 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/idlharness.window.js.ini @@ -0,0 +1,56 @@ +[idlharness.window.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [CSPViolationReportBody interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [CSPViolationReportBody interface: attribute sample] + expected: FAIL + + [CSPViolationReportBody interface: attribute effectiveDirective] + expected: FAIL + + [CSPViolationReportBody interface: attribute disposition] + expected: FAIL + + [CSPViolationReportBody interface: attribute lineNumber] + expected: FAIL + + [CSPViolationReportBody interface: existence and properties of interface object] + expected: FAIL + + [CSPViolationReportBody interface object length] + expected: FAIL + + [CSPViolationReportBody interface: attribute blockedURL] + expected: FAIL + + [CSPViolationReportBody interface: attribute sourceFile] + expected: FAIL + + [CSPViolationReportBody interface: attribute documentURL] + expected: FAIL + + [CSPViolationReportBody interface: attribute referrer] + expected: FAIL + + [CSPViolationReportBody interface: existence and properties of interface prototype object] + expected: FAIL + + [CSPViolationReportBody interface: attribute statusCode] + expected: FAIL + + [CSPViolationReportBody interface: attribute originalPolicy] + expected: FAIL + + [CSPViolationReportBody interface object name] + expected: FAIL + + [CSPViolationReportBody interface: attribute columnNumber] + expected: FAIL + + [CSPViolationReportBody interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [CSPViolationReportBody interface: operation toJSON()] + expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/img-src-redirect.sub.html.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/img-src-redirect.sub.html.ini new file mode 100644 index 0000000000..dc27a13569 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/img-src-redirect.sub.html.ini @@ -0,0 +1,3 @@ +[img-src-redirect.sub.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/inside-dedicated-worker.html.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/inside-dedicated-worker.html.ini new file mode 100644 index 0000000000..5f397384fe --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/inside-dedicated-worker.html.ini @@ -0,0 +1,3 @@ +[inside-dedicated-worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/inside-service-worker.https.html.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/inside-service-worker.https.html.ini new file mode 100644 index 0000000000..21fb1c9313 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/inside-service-worker.https.html.ini @@ -0,0 +1,4 @@ +[inside-service-worker.https.html] + expected: + if (os == "win") and not debug: [OK, TIMEOUT] + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/inside-shared-worker.html.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/inside-shared-worker.html.ini new file mode 100644 index 0000000000..773d30d71a --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/inside-shared-worker.html.ini @@ -0,0 +1,3 @@ +[inside-shared-worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/script-sample-no-opt-in.html.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/script-sample-no-opt-in.html.ini new file mode 100644 index 0000000000..cc26361eb3 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/script-sample-no-opt-in.html.ini @@ -0,0 +1,5 @@ +[script-sample-no-opt-in.html] + expected: TIMEOUT + [JavaScript URLs in iframes should not have a sample.] + expected: TIMEOUT + diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/script-sample.html.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/script-sample.html.ini new file mode 100644 index 0000000000..d5b1514fde --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/script-sample.html.ini @@ -0,0 +1,5 @@ +[script-sample.html] + expected: TIMEOUT + [JavaScript URLs in iframes should have a sample.] + expected: TIMEOUT + diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-cross-origin-image-from-script.sub.html.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-cross-origin-image-from-script.sub.html.ini new file mode 100644 index 0000000000..53511670ce --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-cross-origin-image-from-script.sub.html.ini @@ -0,0 +1,3 @@ +[securitypolicyviolation-block-cross-origin-image-from-script.sub.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-image-from-script.sub.html.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-image-from-script.sub.html.ini new file mode 100644 index 0000000000..1383fa7806 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-image-from-script.sub.html.ini @@ -0,0 +1,3 @@ +[securitypolicyviolation-block-image-from-script.sub.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/source-file-blob-scheme.html.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/source-file-blob-scheme.html.ini new file mode 100644 index 0000000000..5317fa0e5b --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/source-file-blob-scheme.html.ini @@ -0,0 +1,3 @@ +[source-file-blob-scheme.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/source-file-data-scheme.html.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/source-file-data-scheme.html.ini new file mode 100644 index 0000000000..0dee05a8e3 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/source-file-data-scheme.html.ini @@ -0,0 +1,3 @@ +[source-file-data-scheme.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/source-file.html.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/source-file.html.ini new file mode 100644 index 0000000000..068106a874 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/source-file.html.ini @@ -0,0 +1,4 @@ +[source-file.html] + expected: + if (os == "android") and fission: [ERROR, TIMEOUT] + ERROR diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/style-sample-no-opt-in.html.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/style-sample-no-opt-in.html.ini new file mode 100644 index 0000000000..75211d6d26 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/style-sample-no-opt-in.html.ini @@ -0,0 +1,3 @@ +[style-sample-no-opt-in.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/style-sample.html.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/style-sample.html.ini new file mode 100644 index 0000000000..af5a618ebd --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/style-sample.html.ini @@ -0,0 +1,3 @@ +[style-sample.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/targeting.html.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/targeting.html.ini new file mode 100644 index 0000000000..e679e99070 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/targeting.html.ini @@ -0,0 +1,11 @@ +[targeting.html] + expected: TIMEOUT + [Correct targeting inside shadow tree (inline handler).] + disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1404842 + + [Correct targeting inside shadow tree (style).] + disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1404842 + + [Elements created in this document, but pushed into a same-origin frame trigger on that frame's document, not on this frame's document.] + expected: TIMEOUT + diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/upgrade-insecure-requests-reporting.https.html.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/upgrade-insecure-requests-reporting.https.html.ini new file mode 100644 index 0000000000..0e0ea06b9b --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/upgrade-insecure-requests-reporting.https.html.ini @@ -0,0 +1,7 @@ +[upgrade-insecure-requests-reporting.https.html] + expected: + if (processor == "x86") and (os == "win") and not debug: ["OK", "TIMEOUT"] + [Navigated iframe is upgraded and reported] + expected: + if (processor == "x86") and (os == "win") and not debug: ["PASS", "TIMEOUT"] + |