diff options
Diffstat (limited to 'testing/web-platform/meta/fetch/fetch-later')
11 files changed, 222 insertions, 10 deletions
diff --git a/testing/web-platform/meta/fetch/fetch-later/activate-after.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/activate-after.tentative.https.window.js.ini index e6472de4e0..974e367b16 100644 --- a/testing/web-platform/meta/fetch/fetch-later/activate-after.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/activate-after.tentative.https.window.js.ini @@ -1,2 +1,17 @@ [activate-after.tentative.https.window.html] - expected: ERROR + expected: + if (os == "win") and debug and (processor == "x86_64"): OK + if (os == "win") and not debug: TIMEOUT + if (os == "linux") and not debug: TIMEOUT + if os == "android": OK + [OK, TIMEOUT] + [fetchLater() sends out based on activateAfter.] + expected: + if (os == "win") and debug and (processor == "x86_64"): FAIL + if (os == "win") and not debug: TIMEOUT + if (os == "linux") and not debug: TIMEOUT + if os == "android": FAIL + [FAIL, TIMEOUT] + + [fetchLater() sends out based on activateAfter, even if document is in BFCache.] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/fetch-later/iframe.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/iframe.tentative.https.window.js.ini index b3d4cb1d9f..3b49643c4a 100644 --- a/testing/web-platform/meta/fetch/fetch-later/iframe.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/iframe.tentative.https.window.js.ini @@ -1,2 +1,10 @@ [iframe.tentative.https.window.html] expected: ERROR + [A blank iframe can trigger fetchLater.] + expected: FAIL + + [A same-origin iframe can trigger fetchLater.] + expected: FAIL + + [A cross-origin iframe can trigger fetchLater.] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/fetch-later/new-window.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/new-window.tentative.https.window.js.ini index 1f36e0e5b5..350ca32215 100644 --- a/testing/web-platform/meta/fetch/fetch-later/new-window.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/new-window.tentative.https.window.js.ini @@ -1,2 +1,67 @@ [new-window.tentative.https.window.html] - expected: ERROR + expected: TIMEOUT + [A blank window[target=''\][features='0'\] can trigger fetchLater.] + expected: TIMEOUT + + [A same-origin window[target=''\][features='0'\] can trigger fetchLater.] + expected: + if os == "linux": [TIMEOUT, FAIL] + TIMEOUT + + [A cross-origin window[target=''\][features='0'\] can trigger fetchLater.] + expected: TIMEOUT + + [A blank window[target=''\][features='1'\] can trigger fetchLater.] + expected: TIMEOUT + + [A same-origin window[target=''\][features='1'\] can trigger fetchLater.] + expected: + if os == "linux": [TIMEOUT, FAIL] + TIMEOUT + + [A cross-origin window[target=''\][features='1'\] can trigger fetchLater.] + expected: TIMEOUT + + [A blank window[target=''\][features='2'\] can trigger fetchLater.] + expected: TIMEOUT + + [A same-origin window[target=''\][features='2'\] can trigger fetchLater.] + expected: + if os == "linux": [TIMEOUT, FAIL] + TIMEOUT + + [A cross-origin window[target=''\][features='2'\] can trigger fetchLater.] + expected: TIMEOUT + + [A blank window[target='_blank'\][features='0'\] can trigger fetchLater.] + expected: TIMEOUT + + [A same-origin window[target='_blank'\][features='0'\] can trigger fetchLater.] + expected: + if os == "linux": [TIMEOUT, FAIL] + TIMEOUT + + [A cross-origin window[target='_blank'\][features='0'\] can trigger fetchLater.] + expected: TIMEOUT + + [A blank window[target='_blank'\][features='1'\] can trigger fetchLater.] + expected: TIMEOUT + + [A same-origin window[target='_blank'\][features='1'\] can trigger fetchLater.] + expected: + if os == "linux": [TIMEOUT, FAIL] + TIMEOUT + + [A cross-origin window[target='_blank'\][features='1'\] can trigger fetchLater.] + expected: TIMEOUT + + [A blank window[target='_blank'\][features='2'\] can trigger fetchLater.] + expected: TIMEOUT + + [A same-origin window[target='_blank'\][features='2'\] can trigger fetchLater.] + expected: + if os == "linux": [TIMEOUT, FAIL] + TIMEOUT + + [A cross-origin window[target='_blank'\][features='2'\] can trigger fetchLater.] + expected: TIMEOUT diff --git a/testing/web-platform/meta/fetch/fetch-later/policies/csp-allowed.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/policies/csp-allowed.tentative.https.window.js.ini index 357487889e..6508e4b951 100644 --- a/testing/web-platform/meta/fetch/fetch-later/policies/csp-allowed.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/policies/csp-allowed.tentative.https.window.js.ini @@ -1,2 +1,3 @@ [csp-allowed.tentative.https.window.html] - expected: ERROR + [FetchLater allowed by CSP should succeed] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/fetch-later/policies/csp-blocked.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/policies/csp-blocked.tentative.https.window.js.ini index f6d883b210..8fc5e85884 100644 --- a/testing/web-platform/meta/fetch/fetch-later/policies/csp-blocked.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/policies/csp-blocked.tentative.https.window.js.ini @@ -1,2 +1,3 @@ [csp-blocked.tentative.https.window.html] - expected: ERROR + [FetchLater blocked by CSP should reject] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/fetch-later/policies/csp-redirect-to-blocked.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/policies/csp-redirect-to-blocked.tentative.https.window.js.ini index 23cc981401..351d7b9f39 100644 --- a/testing/web-platform/meta/fetch/fetch-later/policies/csp-redirect-to-blocked.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/policies/csp-redirect-to-blocked.tentative.https.window.js.ini @@ -1,2 +1,3 @@ [csp-redirect-to-blocked.tentative.https.window.html] - expected: ERROR + [FetchLater redirect blocked by CSP should reject] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/fetch-later/quota.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/quota.tentative.https.window.js.ini index d520b45dd6..cbea9fe50e 100644 --- a/testing/web-platform/meta/fetch/fetch-later/quota.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/quota.tentative.https.window.js.ini @@ -1,2 +1,102 @@ [quota.tentative.https.window.html] - expected: ERROR + [A fetchLater() call accept small data in POST request of String.] + expected: FAIL + + [A fetchLater() call accept small data in POST request of ArrayBuffer.] + expected: FAIL + + [A fetchLater() call accept small data in POST request of FormData.] + expected: FAIL + + [A fetchLater() call accept small data in POST request of URLSearchParams.] + expected: FAIL + + [A fetchLater() call accept small data in POST request of Blob.] + expected: FAIL + + [A fetchLater() call accept small data in POST request of File.] + expected: FAIL + + [A single fetchLater() call takes up the per-origin quota for its body of String.] + expected: FAIL + + [A single fetchLater() call takes up the per-origin quota for its body of ArrayBuffer.] + expected: FAIL + + [A single fetchLater() call takes up the per-origin quota for its body of Blob.] + expected: FAIL + + [A single fetchLater() call takes up the per-origin quota for its body of File.] + expected: FAIL + + [A single fetchLater() call does not accept empty data in POST request of String.] + expected: FAIL + + [A single fetchLater() call does not accept empty data in POST request of ArrayBuffer.] + expected: FAIL + + [A single fetchLater() call does not accept empty data in POST request of FormData.] + expected: FAIL + + [A single fetchLater() call does not accept empty data in POST request of URLSearchParams.] + expected: FAIL + + [A single fetchLater() call does not accept empty data in POST request of Blob.] + expected: FAIL + + [A single fetchLater() call does not accept empty data in POST request of File.] + expected: FAIL + + [A single fetchLater() call is not allowed to exceed per-origin quota for its body of String.] + expected: FAIL + + [A single fetchLater() call is not allowed to exceed per-origin quota for its body of ArrayBuffer.] + expected: FAIL + + [A single fetchLater() call is not allowed to exceed per-origin quota for its body of FormData.] + expected: FAIL + + [A single fetchLater() call is not allowed to exceed per-origin quota for its body of URLSearchParams.] + expected: FAIL + + [A single fetchLater() call is not allowed to exceed per-origin quota for its body of Blob.] + expected: FAIL + + [A single fetchLater() call is not allowed to exceed per-origin quota for its body of File.] + expected: FAIL + + [The 2nd fetchLater() call is not allowed to exceed per-origin quota for its body of String.] + expected: FAIL + + [The 2nd fetchLater() call is not allowed to exceed per-origin quota for its body of ArrayBuffer.] + expected: FAIL + + [The 2nd fetchLater() call is not allowed to exceed per-origin quota for its body of FormData.] + expected: FAIL + + [The 2nd fetchLater() call is not allowed to exceed per-origin quota for its body of URLSearchParams.] + expected: FAIL + + [The 2nd fetchLater() call is not allowed to exceed per-origin quota for its body of Blob.] + expected: FAIL + + [The 2nd fetchLater() call is not allowed to exceed per-origin quota for its body of File.] + expected: FAIL + + [The 2nd fetchLater() call to another origin does not exceed per-origin quota for its body of String.] + expected: FAIL + + [The 2nd fetchLater() call to another origin does not exceed per-origin quota for its body of ArrayBuffer.] + expected: FAIL + + [The 2nd fetchLater() call to another origin does not exceed per-origin quota for its body of FormData.] + expected: FAIL + + [The 2nd fetchLater() call to another origin does not exceed per-origin quota for its body of URLSearchParams.] + expected: FAIL + + [The 2nd fetchLater() call to another origin does not exceed per-origin quota for its body of Blob.] + expected: FAIL + + [The 2nd fetchLater() call to another origin does not exceed per-origin quota for its body of File.] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/fetch-later/send-on-deactivate.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/send-on-deactivate.tentative.https.window.js.ini index a2b0463bd2..d3809b5596 100644 --- a/testing/web-platform/meta/fetch/fetch-later/send-on-deactivate.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/send-on-deactivate.tentative.https.window.js.ini @@ -1,2 +1,20 @@ [send-on-deactivate.tentative.https.window.html] - expected: ERROR + expected: + if os == "android": OK + TIMEOUT + [fetchLater() sends on page entering BFCache if BackgroundSync is off.] + expected: FAIL + + [Call fetchLater() when BFCached with activateAfter=0 sends immediately.] + expected: + if os == "android": FAIL + TIMEOUT + + [fetchLater() sends on navigating away a page w/o BFCache.] + expected: FAIL + + [fetchLater() does not send aborted request on navigating away a page w/o BFCache.] + expected: FAIL + + [fetchLater() with activateAfter=1m sends on page entering BFCache if BackgroundSync is off.] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/fetch-later/send-on-discard/not-send-after-abort.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/send-on-discard/not-send-after-abort.tentative.https.window.js.ini index 7ad7c66569..4cc12d0811 100644 --- a/testing/web-platform/meta/fetch/fetch-later/send-on-discard/not-send-after-abort.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/send-on-discard/not-send-after-abort.tentative.https.window.js.ini @@ -1,2 +1,3 @@ [not-send-after-abort.tentative.https.window.html] - expected: ERROR + [A discarded document does not send an already aborted fetchLater request.] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/fetch-later/send-on-discard/send-multiple-with-activate-after.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/send-on-discard/send-multiple-with-activate-after.tentative.https.window.js.ini index b2e29b8c0d..ab83122a17 100644 --- a/testing/web-platform/meta/fetch/fetch-later/send-on-discard/send-multiple-with-activate-after.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/send-on-discard/send-multiple-with-activate-after.tentative.https.window.js.ini @@ -1,2 +1,3 @@ [send-multiple-with-activate-after.tentative.https.window.html] - expected: ERROR + [A discarded document sends all its fetchLater requests, no matter how much their activateAfter timeout remain.] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/fetch-later/send-on-discard/send-multiple.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/send-on-discard/send-multiple.tentative.https.window.js.ini index 25c3563074..339b997ec3 100644 --- a/testing/web-platform/meta/fetch/fetch-later/send-on-discard/send-multiple.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/send-on-discard/send-multiple.tentative.https.window.js.ini @@ -1,2 +1,3 @@ [send-multiple.tentative.https.window.html] - expected: ERROR + [A discarded document sends all its fetchLater requests.] + expected: FAIL |