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/background-fetch | |
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/background-fetch')
12 files changed, 737 insertions, 0 deletions
diff --git a/testing/web-platform/meta/background-fetch/__dir__.ini b/testing/web-platform/meta/background-fetch/__dir__.ini new file mode 100644 index 0000000000..2ef043b928 --- /dev/null +++ b/testing/web-platform/meta/background-fetch/__dir__.ini @@ -0,0 +1 @@ +implementation-status: backlog diff --git a/testing/web-platform/meta/background-fetch/abort.https.window.js.ini b/testing/web-platform/meta/background-fetch/abort.https.window.js.ini new file mode 100644 index 0000000000..9fdab60b62 --- /dev/null +++ b/testing/web-platform/meta/background-fetch/abort.https.window.js.ini @@ -0,0 +1,17 @@ +[abort.https.window.html] + expected: + if os == "win": [OK, TIMEOUT] + [Calling BackgroundFetchRegistration.abort sets the correct fields and responses are still available] + expected: + if os == "win": [FAIL, NOTRUN] + FAIL + + [Aborting the same registration twice fails] + expected: + if os == "win": [FAIL, TIMEOUT] + FAIL + + [An aborted fetch throws a DOM exception when accessing an incomplete record] + expected: + if os == "win": [FAIL, NOTRUN] + FAIL diff --git a/testing/web-platform/meta/background-fetch/content-security-policy.https.window.js.ini b/testing/web-platform/meta/background-fetch/content-security-policy.https.window.js.ini new file mode 100644 index 0000000000..8d016f8206 --- /dev/null +++ b/testing/web-platform/meta/background-fetch/content-security-policy.https.window.js.ini @@ -0,0 +1,4 @@ +[content-security-policy.https.window.html] + [fetch blocked by CSP should reject] + expected: FAIL + diff --git a/testing/web-platform/meta/background-fetch/fetch-uploads.https.window.js.ini b/testing/web-platform/meta/background-fetch/fetch-uploads.https.window.js.ini new file mode 100644 index 0000000000..080eddac7b --- /dev/null +++ b/testing/web-platform/meta/background-fetch/fetch-uploads.https.window.js.ini @@ -0,0 +1,10 @@ +[fetch-uploads.https.window.html] + [Fetch with an upload should work] + expected: FAIL + + [Progress event includes uploaded bytes] + expected: FAIL + + [Duplicate upload requests work and can be distinguished.] + expected: FAIL + diff --git a/testing/web-platform/meta/background-fetch/fetch.https.window.js.ini b/testing/web-platform/meta/background-fetch/fetch.https.window.js.ini new file mode 100644 index 0000000000..8c3a399fca --- /dev/null +++ b/testing/web-platform/meta/background-fetch/fetch.https.window.js.ini @@ -0,0 +1,72 @@ +[fetch.https.window.html] + expected: + if os == "win": [OK, TIMEOUT] + [Using Background Fetch to successfully fetch a single resource] + expected: + if os == "win": [FAIL, NOTRUN] + FAIL + + [Background Fetch requires an activated Service Worker] + expected: + if os == "win": [FAIL, TIMEOUT] + FAIL + + [Argument verification is done for BackgroundFetchManager.fetch()] + expected: + if os == "win": [FAIL, NOTRUN] + FAIL + + [IDs must be unique among active Background Fetch registrations] + expected: + if os == "win": [FAIL, NOTRUN] + FAIL + + [Background Fetch that exceeds the quota throws a QuotaExceededError] + expected: + if os == "win": [FAIL, NOTRUN] + FAIL + + [Fetches can have requests with duplicate URLs] + expected: + if os == "win": [FAIL, NOTRUN] + FAIL + + [recordsAvailable is false after onbackgroundfetchsuccess finishes execution.] + expected: + if os == "win": [FAIL, NOTRUN] + FAIL + + [Using Background Fetch to fetch a non-existent resource should fail.] + expected: + if os == "win": [FAIL, NOTRUN] + FAIL + + [Empty URL is OK.] + expected: + if os == "win": [FAIL, NOTRUN] + FAIL + + [Fetches with mixed content should fail.] + expected: + if os == "win": [FAIL, NOTRUN] + FAIL + + [Requests with text/json content type require CORS Preflight and succeed.] + expected: + if os == "win": [FAIL, NOTRUN] + FAIL + + [Requests with PUT method require CORS Preflight and succeed.] + expected: + if os == "win": [FAIL, NOTRUN] + FAIL + + [Registration object gets updated values when a background fetch completes.] + expected: + if os == "win": [FAIL, NOTRUN] + FAIL + + [Responses failing CORS checks are not leaked] + expected: + if os == "win": [FAIL, NOTRUN] + FAIL diff --git a/testing/web-platform/meta/background-fetch/get-ids.https.window.js.ini b/testing/web-platform/meta/background-fetch/get-ids.https.window.js.ini new file mode 100644 index 0000000000..654ef9ef06 --- /dev/null +++ b/testing/web-platform/meta/background-fetch/get-ids.https.window.js.ini @@ -0,0 +1,12 @@ +[get-ids.https.window.html] + expected: + if os == "win": [OK, TIMEOUT] + [BackgroundFetchManager.getIds() does not require an activated worker] + expected: + if os == "win": [FAIL, TIMEOUT] + FAIL + + [The BackgroundFetchManager exposes active fetches] + expected: + if os == "win": [FAIL, NOTRUN] + FAIL diff --git a/testing/web-platform/meta/background-fetch/get.https.window.js.ini b/testing/web-platform/meta/background-fetch/get.https.window.js.ini new file mode 100644 index 0000000000..7b74d09ff5 --- /dev/null +++ b/testing/web-platform/meta/background-fetch/get.https.window.js.ini @@ -0,0 +1,17 @@ +[get.https.window.html] + expected: + if os == "win": [OK, TIMEOUT] + [BackgroundFetchManager.get() does not require an activated worker] + expected: + if os == "win": [FAIL, TIMEOUT] + FAIL + + [Getting non-existing registrations yields `undefined`] + expected: + if os == "win": [FAIL, NOTRUN] + FAIL + + [Getting an existing registration has the expected values] + expected: + if os == "win": [FAIL, NOTRUN] + FAIL diff --git a/testing/web-platform/meta/background-fetch/idlharness.https.any.js.ini b/testing/web-platform/meta/background-fetch/idlharness.https.any.js.ini new file mode 100644 index 0000000000..9edcd07d2a --- /dev/null +++ b/testing/web-platform/meta/background-fetch/idlharness.https.any.js.ini @@ -0,0 +1,493 @@ +[idlharness.https.any.html] + [BackgroundFetchManager interface: existence and properties of interface object] + expected: FAIL + + [BackgroundFetchRegistration interface object length] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute uploadTotal] + expected: FAIL + + [BackgroundFetchManager interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [BackgroundFetchManager interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [BackgroundFetchManager interface object length] + expected: FAIL + + [BackgroundFetchRegistration interface object name] + expected: FAIL + + [BackgroundFetchManager interface: existence and properties of interface prototype object] + expected: FAIL + + [BackgroundFetchRegistration interface: existence and properties of interface object] + expected: FAIL + + [ServiceWorkerRegistration interface: attribute backgroundFetch] + expected: FAIL + + [BackgroundFetchRegistration interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [BackgroundFetchManager interface: operation getIds()] + expected: FAIL + + [BackgroundFetchManager interface object name] + expected: FAIL + + [BackgroundFetchManager interface: operation get(DOMString)] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute uploaded] + expected: FAIL + + [BackgroundFetchRegistration interface: operation abort()] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute onprogress] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute downloaded] + expected: FAIL + + [BackgroundFetchRegistration interface: existence and properties of interface prototype object] + expected: FAIL + + [BackgroundFetchRegistration interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute id] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute downloadTotal] + expected: FAIL + + [BackgroundFetchRecord interface object name] + expected: FAIL + + [BackgroundFetchRecord interface: existence and properties of interface object] + expected: FAIL + + [BackgroundFetchRecord interface: existence and properties of interface prototype object] + expected: FAIL + + [BackgroundFetchRecord interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [BackgroundFetchRecord interface: attribute request] + expected: FAIL + + [BackgroundFetchRecord interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute failureReason] + expected: FAIL + + [BackgroundFetchRecord interface: attribute responseReady] + expected: FAIL + + [BackgroundFetchRecord interface object length] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute recordsAvailable] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute result] + expected: FAIL + + [BackgroundFetchRegistration interface: operation matchAll(optional RequestInfo, optional CacheQueryOptions)] + expected: FAIL + + [BackgroundFetchManager interface: operation fetch(DOMString, (RequestInfo or sequence<RequestInfo>), optional BackgroundFetchOptions)] + expected: FAIL + + [BackgroundFetchRegistration interface: operation match(RequestInfo, optional CacheQueryOptions)] + expected: FAIL + + +[idlharness.https.any.worker.html] + [BackgroundFetchManager interface: existence and properties of interface object] + expected: FAIL + + [BackgroundFetchRegistration interface object length] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute uploadTotal] + expected: FAIL + + [BackgroundFetchManager interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [BackgroundFetchManager interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [BackgroundFetchManager interface object length] + expected: FAIL + + [BackgroundFetchRegistration interface object name] + expected: FAIL + + [BackgroundFetchManager interface: existence and properties of interface prototype object] + expected: FAIL + + [BackgroundFetchRegistration interface: existence and properties of interface object] + expected: FAIL + + [ServiceWorkerRegistration interface: attribute backgroundFetch] + expected: FAIL + + [BackgroundFetchRegistration interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [BackgroundFetchManager interface: operation getIds()] + expected: FAIL + + [BackgroundFetchManager interface object name] + expected: FAIL + + [BackgroundFetchManager interface: operation get(DOMString)] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute uploaded] + expected: FAIL + + [BackgroundFetchRegistration interface: operation abort()] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute onprogress] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute downloaded] + expected: FAIL + + [BackgroundFetchRegistration interface: existence and properties of interface prototype object] + expected: FAIL + + [BackgroundFetchRegistration interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute id] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute downloadTotal] + expected: FAIL + + [BackgroundFetchRecord interface object name] + expected: FAIL + + [BackgroundFetchRecord interface: existence and properties of interface object] + expected: FAIL + + [BackgroundFetchRecord interface: existence and properties of interface prototype object] + expected: FAIL + + [BackgroundFetchRecord interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [BackgroundFetchRecord interface: attribute request] + expected: FAIL + + [BackgroundFetchRecord interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute failureReason] + expected: FAIL + + [BackgroundFetchRecord interface: attribute responseReady] + expected: FAIL + + [BackgroundFetchRecord interface object length] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute recordsAvailable] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute result] + expected: FAIL + + [BackgroundFetchRegistration interface: operation matchAll(optional RequestInfo, optional CacheQueryOptions)] + expected: FAIL + + [BackgroundFetchManager interface: operation fetch(DOMString, (RequestInfo or sequence<RequestInfo>), optional BackgroundFetchOptions)] + expected: FAIL + + [BackgroundFetchRegistration interface: operation match(RequestInfo, optional CacheQueryOptions)] + expected: FAIL + + +[idlharness.https.any.serviceworker.html] + [BackgroundFetchRegistration interface: attribute uploadTotal] + expected: FAIL + + [BackgroundFetchManager interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [ServiceWorkerRegistration interface: attribute backgroundFetch] + expected: FAIL + + [BackgroundFetchManager interface object name] + expected: FAIL + + [BackgroundFetchEvent interface: existence and properties of interface object] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute id] + expected: FAIL + + [BackgroundFetchManager interface object length] + expected: FAIL + + [BackgroundFetchManager interface: existence and properties of interface prototype object] + expected: FAIL + + [BackgroundFetchEvent interface object name] + expected: FAIL + + [BackgroundFetchRegistration interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [BackgroundFetchManager interface: operation getIds()] + expected: FAIL + + [ServiceWorkerGlobalScope interface: attribute onbackgroundfetchfail] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute onprogress] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute downloaded] + expected: FAIL + + [BackgroundFetchRegistration interface: existence and properties of interface prototype object] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute downloadTotal] + expected: FAIL + + [BackgroundFetchEvent interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [BackgroundFetchRegistration interface: existence and properties of interface object] + expected: FAIL + + [BackgroundFetchEvent interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [BackgroundFetchManager interface: operation get(DOMString)] + expected: FAIL + + [BackgroundFetchManager interface: existence and properties of interface object] + expected: FAIL + + [BackgroundFetchRegistration interface object length] + expected: FAIL + + [BackgroundFetchManager interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [BackgroundFetchRegistration interface object name] + expected: FAIL + + [BackgroundFetchEvent interface: existence and properties of interface prototype object] + expected: FAIL + + [ServiceWorkerGlobalScope interface: attribute onbackgroundfetchabort] + expected: FAIL + + [BackgroundFetchEvent interface object length] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute uploaded] + expected: FAIL + + [BackgroundFetchRegistration interface: operation abort()] + expected: FAIL + + [BackgroundFetchRegistration interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [ServiceWorkerGlobalScope interface: attribute onbackgroundfetchclick] + expected: FAIL + + [BackgroundFetchRecord interface object name] + expected: FAIL + + [ServiceWorkerGlobalScope interface: attribute onbackgroundfetchsuccess] + expected: FAIL + + [BackgroundFetchUpdateUIEvent interface: existence and properties of interface object] + expected: FAIL + + [BackgroundFetchRecord interface: existence and properties of interface object] + expected: FAIL + + [BackgroundFetchRecord interface: existence and properties of interface prototype object] + expected: FAIL + + [BackgroundFetchRecord interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [BackgroundFetchRecord interface: attribute request] + expected: FAIL + + [BackgroundFetchUpdateUIEvent interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [BackgroundFetchUpdateUIEvent interface: existence and properties of interface prototype object] + expected: FAIL + + [BackgroundFetchRecord interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [BackgroundFetchUpdateUIEvent interface object length] + expected: FAIL + + [BackgroundFetchEvent interface: attribute registration] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute failureReason] + expected: FAIL + + [BackgroundFetchUpdateUIEvent interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [BackgroundFetchRecord interface: attribute responseReady] + expected: FAIL + + [BackgroundFetchUpdateUIEvent interface object name] + expected: FAIL + + [BackgroundFetchRecord interface object length] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute recordsAvailable] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute result] + expected: FAIL + + [BackgroundFetchRegistration interface: operation matchAll(optional RequestInfo, optional CacheQueryOptions)] + expected: FAIL + + [BackgroundFetchUpdateUIEvent interface: operation updateUI(optional BackgroundFetchUIOptions)] + expected: FAIL + + [BackgroundFetchManager interface: operation fetch(DOMString, (RequestInfo or sequence<RequestInfo>), optional BackgroundFetchOptions)] + expected: FAIL + + [BackgroundFetchRegistration interface: operation match(RequestInfo, optional CacheQueryOptions)] + expected: FAIL + + +[idlharness.https.any.sharedworker.html] + [BackgroundFetchManager interface: existence and properties of interface object] + expected: FAIL + + [BackgroundFetchRegistration interface object length] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute uploadTotal] + expected: FAIL + + [BackgroundFetchManager interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [BackgroundFetchManager interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [BackgroundFetchManager interface object length] + expected: FAIL + + [BackgroundFetchRegistration interface object name] + expected: FAIL + + [BackgroundFetchManager interface: existence and properties of interface prototype object] + expected: FAIL + + [BackgroundFetchRegistration interface: existence and properties of interface object] + expected: FAIL + + [ServiceWorkerRegistration interface: attribute backgroundFetch] + expected: FAIL + + [BackgroundFetchRegistration interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [BackgroundFetchManager interface: operation getIds()] + expected: FAIL + + [BackgroundFetchManager interface object name] + expected: FAIL + + [BackgroundFetchManager interface: operation get(DOMString)] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute uploaded] + expected: FAIL + + [BackgroundFetchRegistration interface: operation abort()] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute onprogress] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute downloaded] + expected: FAIL + + [BackgroundFetchRegistration interface: existence and properties of interface prototype object] + expected: FAIL + + [BackgroundFetchRegistration interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute id] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute downloadTotal] + expected: FAIL + + [BackgroundFetchRecord interface object name] + expected: FAIL + + [BackgroundFetchRecord interface: existence and properties of interface object] + expected: FAIL + + [BackgroundFetchRecord interface: existence and properties of interface prototype object] + expected: FAIL + + [BackgroundFetchRecord interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [BackgroundFetchRecord interface: attribute request] + expected: FAIL + + [BackgroundFetchRecord interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute failureReason] + expected: FAIL + + [BackgroundFetchRecord interface: attribute responseReady] + expected: FAIL + + [BackgroundFetchRecord interface object length] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute recordsAvailable] + expected: FAIL + + [BackgroundFetchRegistration interface: attribute result] + expected: FAIL + + [BackgroundFetchRegistration interface: operation matchAll(optional RequestInfo, optional CacheQueryOptions)] + expected: FAIL + + [BackgroundFetchManager interface: operation fetch(DOMString, (RequestInfo or sequence<RequestInfo>), optional BackgroundFetchOptions)] + expected: FAIL + + [BackgroundFetchRegistration interface: operation match(RequestInfo, optional CacheQueryOptions)] + expected: FAIL + diff --git a/testing/web-platform/meta/background-fetch/match.https.window.js.ini b/testing/web-platform/meta/background-fetch/match.https.window.js.ini new file mode 100644 index 0000000000..e87ea93e69 --- /dev/null +++ b/testing/web-platform/meta/background-fetch/match.https.window.js.ini @@ -0,0 +1,20 @@ +[match.https.window.html] + expected: + if debug and (os == "linux"): ["OK", "TIMEOUT"] + [Matching to a non-existing request should work] + expected: FAIL + + [Matching multiple times on the same request works as expected.] + expected: FAIL + + [Matching to a single request should work] + expected: FAIL + + [Match with query options.] + expected: + if debug and (os == "linux"): ["FAIL", "TIMEOUT"] + FAIL + + [Access to active fetches is supported.] + expected: FAIL + diff --git a/testing/web-platform/meta/background-fetch/mixed-content-and-allowed-schemes.https.window.js.ini b/testing/web-platform/meta/background-fetch/mixed-content-and-allowed-schemes.https.window.js.ini new file mode 100644 index 0000000000..9c477f9c7f --- /dev/null +++ b/testing/web-platform/meta/background-fetch/mixed-content-and-allowed-schemes.https.window.js.ini @@ -0,0 +1,41 @@ +[mixed-content-and-allowed-schemes.https.window.html] + expected: + if (os == "linux") and debug: ["OK", "TIMEOUT"] + if (os == "mac") and debug: ["OK", "TIMEOUT"] + [https: fetch should register ok] + expected: FAIL + + [loopback IPv4 http: fetch should register ok] + expected: FAIL + + [loopback IPv6 http: fetch should register ok] + expected: FAIL + + [wss: fetch should reject] + expected: + if (os == "mac") and debug: ["FAIL", "NOTRUN"] + FAIL + + [file: fetch should reject] + expected: + if (os == "linux") and debug: ["FAIL", "TIMEOUT"] + if (os == "mac") and debug: ["FAIL", "NOTRUN"] + FAIL + + [data: fetch should reject] + expected: + if (os == "linux") and debug: ["FAIL", "NOTRUN"] + if (os == "mac") and debug: ["FAIL", "NOTRUN", "TIMEOUT"] + FAIL + + [unknown scheme fetch should reject] + expected: + if (os == "linux") and debug: ["FAIL", "NOTRUN"] + if (os == "mac") and debug: ["FAIL", "NOTRUN"] + FAIL + + [localhost http: fetch should register ok] + expected: + if (os == "mac") and debug: ["FAIL", "TIMEOUT"] + FAIL + diff --git a/testing/web-platform/meta/background-fetch/port-blocking.https.window.js.ini b/testing/web-platform/meta/background-fetch/port-blocking.https.window.js.ini new file mode 100644 index 0000000000..c19b8aaf9b --- /dev/null +++ b/testing/web-platform/meta/background-fetch/port-blocking.https.window.js.ini @@ -0,0 +1,34 @@ +[port-blocking.https.window.html] + expected: + if (os == "mac") and debug: ["OK", "TIMEOUT"] + if (os == "linux"): ["OK", "TIMEOUT"] + [fetch to default https port should register ok] + expected: FAIL + + [fetch to default http port should register ok] + expected: FAIL + + [fetch to port 443 should register ok] + expected: + if (os == "linux") and not debug: ["FAIL", "TIMEOUT"] + FAIL + + [fetch to port 80 should register ok, even over https] + expected: + if (os == "linux") and debug: ["FAIL", "TIMEOUT"] + if (os == "linux") and not debug: ["FAIL", "NOTRUN"] + if (os == "mac") and debug: ["FAIL", "TIMEOUT"] + FAIL + + [fetch to non-default non-bad port (8080) should register ok] + expected: + if (os == "mac") and debug: ["FAIL", "NOTRUN"] + if (os == "linux"): ["FAIL", "NOTRUN"] + FAIL + + [fetch to bad port (SMTP) should reject] + expected: + if (os == "mac") and debug: ["FAIL", "TIMEOUT", "NOTRUN"] + if (os == "linux"): ["FAIL", "NOTRUN"] + FAIL + diff --git a/testing/web-platform/meta/background-fetch/update-ui.https.window.js.ini b/testing/web-platform/meta/background-fetch/update-ui.https.window.js.ini new file mode 100644 index 0000000000..ef12904f9a --- /dev/null +++ b/testing/web-platform/meta/background-fetch/update-ui.https.window.js.ini @@ -0,0 +1,16 @@ +[update-ui.https.window.html] + expected: + if (os == "mac") and debug: ["OK", "TIMEOUT"] + [Background Fetch updateUI called twice fails] + expected: + if (os == "mac") and debug: ["FAIL", "TIMEOUT"] + FAIL + + [Background Fetch updateUI resolves] + expected: FAIL + + [Background Fetch updateUI fails when event is not active] + expected: + if (os == "mac") and debug: ["FAIL", "NOTRUN"] + FAIL + |