diff options
Diffstat (limited to 'testing/web-platform/meta/geolocation-API')
15 files changed, 105 insertions, 0 deletions
diff --git a/testing/web-platform/meta/geolocation-API/PositionOptions.https.html.ini b/testing/web-platform/meta/geolocation-API/PositionOptions.https.html.ini new file mode 100644 index 0000000000..d2fba3eb7b --- /dev/null +++ b/testing/web-platform/meta/geolocation-API/PositionOptions.https.html.ini @@ -0,0 +1,19 @@ +[PositionOptions.https.html] + expected: ERROR + [Call getCurrentPosition with wrong type for enableHighAccuracy. No exception expected.] + expected: FAIL + + [Call watchPosition with wrong type for enableHighAccuracy. No exception expected.] + expected: NOTRUN + + [Set timeout and maximumAge to 0, check that timeout error raised (getCurrentPosition)] + expected: NOTRUN + + [Set timeout and maximumAge to 0, check that timeout error raised (watchPosition)] + expected: NOTRUN + + [Check that a negative timeout and maxAge values are clamped to 0 (getCurrentPosition)] + expected: NOTRUN + + [Check that a negative timeout and maxAge values are clamped to 0 (watchPosition)] + expected: NOTRUN diff --git a/testing/web-platform/meta/geolocation-API/__dir__.ini b/testing/web-platform/meta/geolocation-API/__dir__.ini new file mode 100644 index 0000000000..9fb415da1e --- /dev/null +++ b/testing/web-platform/meta/geolocation-API/__dir__.ini @@ -0,0 +1,2 @@ +prefs: [geo.prompt.testing:true, geo.prompt.testing.allow:true] +lsan-allowed: [mozilla::net::HttpBaseChannel::HttpBaseChannel, mozilla::net::nsHttpHandler::NewProxiedChannel] diff --git a/testing/web-platform/meta/geolocation-API/disabled-by-permissions-policy.https.sub.html.ini b/testing/web-platform/meta/geolocation-API/disabled-by-permissions-policy.https.sub.html.ini new file mode 100644 index 0000000000..a78859e9b8 --- /dev/null +++ b/testing/web-platform/meta/geolocation-API/disabled-by-permissions-policy.https.sub.html.ini @@ -0,0 +1,10 @@ +[disabled-by-permissions-policy.https.sub.html] + expected: TIMEOUT + [Permissions-Policy header geolocation=() disallows the top-level document.] + expected: FAIL + + [Permissions-Policy header geolocation=() disallows same-origin iframes.] + expected: TIMEOUT + + [Permissions-Policy header geolocation=() disallows cross-origin iframes.] + expected: TIMEOUT diff --git a/testing/web-platform/meta/geolocation-API/enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html.ini b/testing/web-platform/meta/geolocation-API/enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html.ini new file mode 100644 index 0000000000..9d59460bfa --- /dev/null +++ b/testing/web-platform/meta/geolocation-API/enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html.ini @@ -0,0 +1,7 @@ +[enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html] + expected: TIMEOUT + [Permissions-Policy allow="geolocation" allows same-origin relocation] + expected: TIMEOUT + + [Permissions-Policy allow="geolocation" allows cross-origin relocation] + expected: TIMEOUT diff --git a/testing/web-platform/meta/geolocation-API/enabled-by-permission-policy-attribute.https.sub.html.ini b/testing/web-platform/meta/geolocation-API/enabled-by-permission-policy-attribute.https.sub.html.ini new file mode 100644 index 0000000000..db0b707687 --- /dev/null +++ b/testing/web-platform/meta/geolocation-API/enabled-by-permission-policy-attribute.https.sub.html.ini @@ -0,0 +1,7 @@ +[enabled-by-permission-policy-attribute.https.sub.html] + expected: TIMEOUT + [Permissions policy "geolocation" can be enabled in same-origin iframe using allow="geolocation" attribute] + expected: TIMEOUT + + [Permissions policy "geolocation" can be enabled in cross-origin iframe using allow="geolocation" attribute] + expected: TIMEOUT diff --git a/testing/web-platform/meta/geolocation-API/enabled-by-permissions-policy.https.sub.html.ini b/testing/web-platform/meta/geolocation-API/enabled-by-permissions-policy.https.sub.html.ini new file mode 100644 index 0000000000..f6fe35d93a --- /dev/null +++ b/testing/web-platform/meta/geolocation-API/enabled-by-permissions-policy.https.sub.html.ini @@ -0,0 +1,10 @@ +[enabled-by-permissions-policy.https.sub.html] + expected: TIMEOUT + [Permissions-Policy header geolocation=* allows the top-level document.] + expected: FAIL + + [Permissions-Policy header geolocation=* allows same-origin iframes.] + expected: TIMEOUT + + [Permissions-Policy header geolocation=* allows cross-origin iframes.] + expected: TIMEOUT diff --git a/testing/web-platform/meta/geolocation-API/enabled-on-self-origin-by-permissions-policy.https.sub.html.ini b/testing/web-platform/meta/geolocation-API/enabled-on-self-origin-by-permissions-policy.https.sub.html.ini new file mode 100644 index 0000000000..7331fbf87e --- /dev/null +++ b/testing/web-platform/meta/geolocation-API/enabled-on-self-origin-by-permissions-policy.https.sub.html.ini @@ -0,0 +1,10 @@ +[enabled-on-self-origin-by-permissions-policy.https.sub.html] + expected: TIMEOUT + [Permissions-Policy header geolocation=(self) allows the top-level document.] + expected: FAIL + + [Permissions-Policy header geolocation=(self) allows same-origin iframes.] + expected: TIMEOUT + + [Permissions-Policy header geolocation=(self) disallows cross-origin iframes.] + expected: TIMEOUT diff --git a/testing/web-platform/meta/geolocation-API/getCurrentPosition_TypeError.https.html.ini b/testing/web-platform/meta/geolocation-API/getCurrentPosition_TypeError.https.html.ini new file mode 100644 index 0000000000..ad88e1eed6 --- /dev/null +++ b/testing/web-platform/meta/geolocation-API/getCurrentPosition_TypeError.https.html.ini @@ -0,0 +1,3 @@ +[getCurrentPosition_TypeError.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/geolocation-API/getCurrentPosition_permission_allow.https.html.ini b/testing/web-platform/meta/geolocation-API/getCurrentPosition_permission_allow.https.html.ini new file mode 100644 index 0000000000..8214b22724 --- /dev/null +++ b/testing/web-platform/meta/geolocation-API/getCurrentPosition_permission_allow.https.html.ini @@ -0,0 +1,7 @@ +[getCurrentPosition_permission_allow.https.html] + expected: ERROR + [User allows access, check that success callback is called.] + expected: FAIL + + [Error callback is nullable for getCurrentPosition().] + expected: NOTRUN diff --git a/testing/web-platform/meta/geolocation-API/getCurrentPosition_permission_deny.https.html.ini b/testing/web-platform/meta/geolocation-API/getCurrentPosition_permission_deny.https.html.ini new file mode 100644 index 0000000000..ab47923503 --- /dev/null +++ b/testing/web-platform/meta/geolocation-API/getCurrentPosition_permission_deny.https.html.ini @@ -0,0 +1,6 @@ +[getCurrentPosition_permission_deny.https.html] + expected: + if (os == "android") and fission: [ERROR, TIMEOUT] + ERROR + [User denies access, check that error callback is called with correct code] + expected: FAIL diff --git a/testing/web-platform/meta/geolocation-API/non-fully-active.https.html.ini b/testing/web-platform/meta/geolocation-API/non-fully-active.https.html.ini new file mode 100644 index 0000000000..ac1c4f2abe --- /dev/null +++ b/testing/web-platform/meta/geolocation-API/non-fully-active.https.html.ini @@ -0,0 +1,6 @@ +[non-fully-active.https.html] + expected: + if (os == "android") and fission: [ERROR, TIMEOUT] + ERROR + [non-fully active document behavior] + expected: FAIL diff --git a/testing/web-platform/meta/geolocation-API/non-secure-contexts.http.html.ini b/testing/web-platform/meta/geolocation-API/non-secure-contexts.http.html.ini new file mode 100644 index 0000000000..d7b2acedef --- /dev/null +++ b/testing/web-platform/meta/geolocation-API/non-secure-contexts.http.html.ini @@ -0,0 +1,3 @@ +[non-secure-contexts.http.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/geolocation-API/permission.https.html.ini b/testing/web-platform/meta/geolocation-API/permission.https.html.ini new file mode 100644 index 0000000000..59c1ea241c --- /dev/null +++ b/testing/web-platform/meta/geolocation-API/permission.https.html.ini @@ -0,0 +1,3 @@ +[permission.https.html] + expected: + if (os == "android") and fission: [TIMEOUT, OK] diff --git a/testing/web-platform/meta/geolocation-API/watchPosition_TypeError.https.html.ini b/testing/web-platform/meta/geolocation-API/watchPosition_TypeError.https.html.ini new file mode 100644 index 0000000000..862129dc32 --- /dev/null +++ b/testing/web-platform/meta/geolocation-API/watchPosition_TypeError.https.html.ini @@ -0,0 +1,3 @@ +[watchPosition_TypeError.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/geolocation-API/watchPosition_permission_deny.https.html.ini b/testing/web-platform/meta/geolocation-API/watchPosition_permission_deny.https.html.ini new file mode 100644 index 0000000000..2bf06d7d9b --- /dev/null +++ b/testing/web-platform/meta/geolocation-API/watchPosition_permission_deny.https.html.ini @@ -0,0 +1,9 @@ +[watchPosition_permission_deny.https.html] + expected: + if (os == "android") and fission: [ERROR, TIMEOUT] + ERROR + [Check that watchPosition returns synchronously before any callbacks are invoked.] + expected: FAIL + + [User denies access, check that error callback is called.] + expected: NOTRUN |