diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/content-security-policy/inside-worker | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
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, 48 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..40ee62166b --- /dev/null +++ b/testing/web-platform/meta/content-security-policy/inside-worker/serviceworker-connect-src.https.sub.html.ini @@ -0,0 +1,18 @@ +[serviceworker-connect-src.https.sub.html] + expected: + if (processor == "x86") and (os == "win") and not debug: [OK, TIMEOUT] + [Reports match in https: with connect-src 'self'] + expected: + if swgl and (os == "linux") and fission: [PASS, FAIL] + + [serviceworker-connect-src 2] + expected: + if (processor == "x86") and (os == "win") and not debug: [PASS, NOTRUN] + + [serviceworker-connect-src 1] + expected: + if (processor == "x86") and (os == "win") and not debug: [PASS, NOTRUN] + + [serviceworker-connect-src] + expected: + if (processor == "x86") and (os == "win") and not debug: [PASS, TIMEOUT] 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] |