diff options
Diffstat (limited to 'testing/web-platform/meta/web-share')
14 files changed, 116 insertions, 0 deletions
diff --git a/testing/web-platform/meta/web-share/__dir__.ini b/testing/web-platform/meta/web-share/__dir__.ini new file mode 100644 index 0000000000..d968208d88 --- /dev/null +++ b/testing/web-platform/meta/web-share/__dir__.ini @@ -0,0 +1 @@ +prefs: [dom.webshare.enabled:true, dom.reporting.featurePolicy.enabled:true, dom.security.featurePolicy.header.enabled:true] diff --git a/testing/web-platform/meta/web-share/canShare-files.https.html.ini b/testing/web-platform/meta/web-share/canShare-files.https.html.ini new file mode 100644 index 0000000000..412bc3bb43 --- /dev/null +++ b/testing/web-platform/meta/web-share/canShare-files.https.html.ini @@ -0,0 +1,12 @@ +[canShare-files.https.html] + [canShare with single file list] + expected: FAIL + + [canShare with file list] + expected: FAIL + + [canShare with repeated file] + expected: FAIL + + [canShare with file list and url] + expected: FAIL diff --git a/testing/web-platform/meta/web-share/canShare.https.html.ini b/testing/web-platform/meta/web-share/canShare.https.html.ini new file mode 100644 index 0000000000..9e8de687e7 --- /dev/null +++ b/testing/web-platform/meta/web-share/canShare.https.html.ini @@ -0,0 +1,6 @@ +[canShare.https.html] + [canShare() multiple members] + expected: FAIL + + [canShare() files member] + expected: FAIL diff --git a/testing/web-platform/meta/web-share/disabled-by-permissions-policy-cross-origin.https.sub.html.ini b/testing/web-platform/meta/web-share/disabled-by-permissions-policy-cross-origin.https.sub.html.ini new file mode 100644 index 0000000000..31d79b67a2 --- /dev/null +++ b/testing/web-platform/meta/web-share/disabled-by-permissions-policy-cross-origin.https.sub.html.ini @@ -0,0 +1,53 @@ +[disabled-by-permissions-policy-cross-origin.https.sub.html] + expected: + if (os == "linux") and fission and not debug and (processor == "x86_64"): [TIMEOUT, OK] + if (os == "linux") and fission and not debug and (processor == "x86"): [TIMEOUT, OK] + if (os == "win") and debug and swgl: [TIMEOUT, OK] + if (os == "linux") and fission and debug: [TIMEOUT, OK] + [OK, TIMEOUT] + [share() is disabled by default 'self' by permissions policy for cross-origin iframes] + expected: + if (os == "mac") and not debug: [FAIL, TIMEOUT] + if (os == "linux") and fission: [FAIL, TIMEOUT] + FAIL + + [share() is disabled explicitly by permissions policy for cross-origin iframe] + expected: + if (os == "linux") and fission and not swgl and not debug and (processor == "x86"): [TIMEOUT, FAIL, NOTRUN] + if (os == "linux") and fission and not swgl and not debug and (processor == "x86_64"): [TIMEOUT, FAIL, NOTRUN] + if (os == "linux") and fission and swgl: [TIMEOUT, FAIL, NOTRUN] + [FAIL, TIMEOUT, NOTRUN] + + [share() not allowed, as only allowed to share with self] + expected: + if (os == "linux") and fission and not debug and (processor == "x86"): [NOTRUN, FAIL, TIMEOUT] + if (os == "linux") and fission and not debug and (processor == "x86_64"): [NOTRUN, FAIL, TIMEOUT] + if (os == "linux") and fission and debug and not swgl: [TIMEOUT, FAIL, NOTRUN] + if (os == "linux") and fission and debug and swgl: [NOTRUN, FAIL, TIMEOUT] + [FAIL, TIMEOUT, NOTRUN] + + [canShare() not allowed to share by default permissions policy cross-origin] + expected: + if (os == "linux") and fission and not swgl and not debug and (processor == "x86_64"): [NOTRUN, PASS, TIMEOUT] + if (os == "linux") and fission and not swgl and not debug and (processor == "x86"): [NOTRUN, PASS, TIMEOUT] + if (os == "linux") and fission and not swgl and debug: [NOTRUN, PASS, TIMEOUT] + if (os == "linux") and fission and swgl: [NOTRUN, PASS, TIMEOUT] + [PASS, TIMEOUT, NOTRUN] + + [canShare() is allowed by permissions policy to share cross-origin on a particular origin] + expected: + if (os == "linux") and fission and not swgl and not debug and (processor == "x86"): [NOTRUN, PASS, FAIL, TIMEOUT] + if (os == "linux") and fission and not swgl and not debug and (processor == "x86_64"): [NOTRUN, PASS, FAIL, TIMEOUT] + if (os == "linux") and fission and not swgl and debug: [NOTRUN, PASS, FAIL, TIMEOUT] + if (os == "linux") and fission and swgl: [NOTRUN, PASS, FAIL, TIMEOUT] + if (os == "win") and debug and swgl: [TIMEOUT, PASS, FAIL, NOTRUN] + if (os == "mac") and not debug: [PASS, TIMEOUT, FAIL, NOTRUN] + [PASS, FAIL, TIMEOUT, NOTRUN] + + [canShare() with self] + expected: + if (os == "linux") and fission and not debug and (processor == "x86"): [NOTRUN, PASS] + if (os == "linux") and fission and not debug and (processor == "x86_64"): [NOTRUN, PASS] + if (os == "win") and debug and swgl: [NOTRUN, PASS] + if (os == "linux") and fission and debug: [NOTRUN, PASS] + [PASS, NOTRUN] diff --git a/testing/web-platform/meta/web-share/disabled-by-permissions-policy.https.sub.html.ini b/testing/web-platform/meta/web-share/disabled-by-permissions-policy.https.sub.html.ini new file mode 100644 index 0000000000..3937078285 --- /dev/null +++ b/testing/web-platform/meta/web-share/disabled-by-permissions-policy.https.sub.html.ini @@ -0,0 +1,6 @@ +[disabled-by-permissions-policy.https.sub.html] + [share() can be disabled by permissions policy] + expected: FAIL + + [canShare() can be disabled by permissions policy] + expected: FAIL diff --git a/testing/web-platform/meta/web-share/feature-policy-listed.html.ini b/testing/web-platform/meta/web-share/feature-policy-listed.html.ini new file mode 100644 index 0000000000..aa724cbf48 --- /dev/null +++ b/testing/web-platform/meta/web-share/feature-policy-listed.html.ini @@ -0,0 +1,14 @@ +[feature-policy-listed.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [allowsFeature() returns a single entry for web-share] + expected: FAIL + + [allowedFeatures() includes web-share] + expected: FAIL + + [features() includes web-share] + expected: FAIL + + [allowsFeature() returns true for web-share] + expected: FAIL diff --git a/testing/web-platform/meta/web-share/idlharness.https.window.js.ini b/testing/web-platform/meta/web-share/idlharness.https.window.js.ini new file mode 100644 index 0000000000..8e35006d6d --- /dev/null +++ b/testing/web-platform/meta/web-share/idlharness.https.window.js.ini @@ -0,0 +1,3 @@ +[idlharness.https.window.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/web-share/share-consume-activation.https.html.ini b/testing/web-platform/meta/web-share/share-consume-activation.https.html.ini new file mode 100644 index 0000000000..23d371483f --- /dev/null +++ b/testing/web-platform/meta/web-share/share-consume-activation.https.html.ini @@ -0,0 +1,3 @@ +[share-consume-activation.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/web-share/share-empty.https.html.ini b/testing/web-platform/meta/web-share/share-empty.https.html.ini new file mode 100644 index 0000000000..fb475d4933 --- /dev/null +++ b/testing/web-platform/meta/web-share/share-empty.https.html.ini @@ -0,0 +1,3 @@ +[share-empty.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/web-share/share-securecontext.http.html.ini b/testing/web-platform/meta/web-share/share-securecontext.http.html.ini new file mode 100644 index 0000000000..992ca653d1 --- /dev/null +++ b/testing/web-platform/meta/web-share/share-securecontext.http.html.ini @@ -0,0 +1,3 @@ +[share-securecontext.http.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/web-share/share-sharePromise-internal-slot.https.html.ini b/testing/web-platform/meta/web-share/share-sharePromise-internal-slot.https.html.ini new file mode 100644 index 0000000000..dc9a163732 --- /dev/null +++ b/testing/web-platform/meta/web-share/share-sharePromise-internal-slot.https.html.ini @@ -0,0 +1,3 @@ +[share-sharePromise-internal-slot.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/web-share/share-url-invalid.https.html.ini b/testing/web-platform/meta/web-share/share-url-invalid.https.html.ini new file mode 100644 index 0000000000..2047057fa2 --- /dev/null +++ b/testing/web-platform/meta/web-share/share-url-invalid.https.html.ini @@ -0,0 +1,3 @@ +[share-url-invalid.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/web-share/share-without-user-gesture.https.html.ini b/testing/web-platform/meta/web-share/share-without-user-gesture.https.html.ini new file mode 100644 index 0000000000..6a2f4eef6f --- /dev/null +++ b/testing/web-platform/meta/web-share/share-without-user-gesture.https.html.ini @@ -0,0 +1,3 @@ +[share-without-user-gesture.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/web-share/test-fully-active.https.html.ini b/testing/web-platform/meta/web-share/test-fully-active.https.html.ini new file mode 100644 index 0000000000..5e97680183 --- /dev/null +++ b/testing/web-platform/meta/web-share/test-fully-active.https.html.ini @@ -0,0 +1,3 @@ +[test-fully-active.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] |