diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/content-security-policy/inside-worker | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/content-security-policy/inside-worker')
7 files changed, 34 insertions, 0 deletions
diff --git a/testing/web-platform/meta/content-security-policy/inside-worker/__dir__.ini b/testing/web-platform/meta/content-security-policy/inside-worker/__dir__.ini new file mode 100644 index 0000000000..4652b4d3fe --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/inside-worker/__dir__.ini @@ -0,0 +1 @@ +lsan-allowed: [NS_NewRunnableFunction, detail::ProxyRelease, mozilla::SupportsThreadSafeWeakPtr, mozilla::ipc::BackgroundChildImpl::AllocPRemoteWorkerChild] diff --git a/testing/web-platform/meta/content-security-policy/inside-worker/dedicatedworker-script-src.html.ini b/testing/web-platform/meta/content-security-policy/inside-worker/dedicatedworker-script-src.html.ini new file mode 100644 index 0000000000..02ff2b150e --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/inside-worker/dedicatedworker-script-src.html.ini @@ -0,0 +1,17 @@ +[dedicatedworker-script-src.html] + expected: TIMEOUT + [dedicatedworker-script-src] + expected: TIMEOUT + + [Cross-origin `importScripts()` blocked in blob: with script-src 'self'] + expected: TIMEOUT + + [`eval()` blocked in blob: with script-src 'self'] + expected: NOTRUN + + [`setTimeout([string\])` blocked in blob: with script-src 'self'] + expected: NOTRUN + + [Reports are sent for blob: with script-src 'self'] + expected: NOTRUN + diff --git a/testing/web-platform/meta/content-security-policy/inside-worker/serviceworker-connect-src.https.sub.html.ini b/testing/web-platform/meta/content-security-policy/inside-worker/serviceworker-connect-src.https.sub.html.ini new file mode 100644 index 0000000000..45d1539fbc --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/inside-worker/serviceworker-connect-src.https.sub.html.ini @@ -0,0 +1,4 @@ +[serviceworker-connect-src.https.sub.html] + [Reports match in https: with connect-src 'self'] + expected: + if swgl and (os == "linux") and fission: [PASS, FAIL] diff --git a/testing/web-platform/meta/content-security-policy/inside-worker/serviceworker-report-only.https.sub.html.ini b/testing/web-platform/meta/content-security-policy/inside-worker/serviceworker-report-only.https.sub.html.ini new file mode 100644 index 0000000000..00eea6e476 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/inside-worker/serviceworker-report-only.https.sub.html.ini @@ -0,0 +1,3 @@ +[serviceworker-report-only.https.sub.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/content-security-policy/inside-worker/sharedworker-connect-src.sub.html.ini b/testing/web-platform/meta/content-security-policy/inside-worker/sharedworker-connect-src.sub.html.ini new file mode 100644 index 0000000000..03d4fdfc90 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/inside-worker/sharedworker-connect-src.sub.html.ini @@ -0,0 +1,3 @@ +[sharedworker-connect-src.sub.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/content-security-policy/inside-worker/sharedworker-report-only.sub.html.ini b/testing/web-platform/meta/content-security-policy/inside-worker/sharedworker-report-only.sub.html.ini new file mode 100644 index 0000000000..99d889fc17 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/inside-worker/sharedworker-report-only.sub.html.ini @@ -0,0 +1,3 @@ +[sharedworker-report-only.sub.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/content-security-policy/inside-worker/sharedworker-script-src.sub.html.ini b/testing/web-platform/meta/content-security-policy/inside-worker/sharedworker-script-src.sub.html.ini new file mode 100644 index 0000000000..0ad2e3eba5 --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/inside-worker/sharedworker-script-src.sub.html.ini @@ -0,0 +1,3 @@ +[sharedworker-script-src.sub.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] |