diff options
Diffstat (limited to 'testing/web-platform/meta/fetch/api/abort')
6 files changed, 152 insertions, 0 deletions
diff --git a/testing/web-platform/meta/fetch/api/abort/__dir__.ini b/testing/web-platform/meta/fetch/api/abort/__dir__.ini new file mode 100644 index 0000000000..b9f5886878 --- /dev/null +++ b/testing/web-platform/meta/fetch/api/abort/__dir__.ini @@ -0,0 +1,2 @@ +lsan-disabled: true +leak-threshold: [default:51200] diff --git a/testing/web-platform/meta/fetch/api/abort/cache.https.any.js.ini b/testing/web-platform/meta/fetch/api/abort/cache.https.any.js.ini new file mode 100644 index 0000000000..38fb1d2375 --- /dev/null +++ b/testing/web-platform/meta/fetch/api/abort/cache.https.any.js.ini @@ -0,0 +1,36 @@ +[cache.https.any.serviceworker.html] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT] + [Signals are not stored in the cache API, even if they're already aborted] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] + + [Signals are not stored in the cache API] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT] + + +[cache.https.any.html] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT] + [Signals are not stored in the cache API] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT] + + [Signals are not stored in the cache API, even if they're already aborted] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN] + + +[cache.https.any.sharedworker.html] + +[cache.https.any.worker.html] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT] + [Signals are not stored in the cache API] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT] + + [Signals are not stored in the cache API, even if they're already aborted] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [PASS, NOTRUN] diff --git a/testing/web-platform/meta/fetch/api/abort/destroyed-context.html.ini b/testing/web-platform/meta/fetch/api/abort/destroyed-context.html.ini new file mode 100644 index 0000000000..9450ef56bf --- /dev/null +++ b/testing/web-platform/meta/fetch/api/abort/destroyed-context.html.ini @@ -0,0 +1,3 @@ +[destroyed-context.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/fetch/api/abort/general.any.js.ini b/testing/web-platform/meta/fetch/api/abort/general.any.js.ini new file mode 100644 index 0000000000..57f6fa3454 --- /dev/null +++ b/testing/web-platform/meta/fetch/api/abort/general.any.js.ini @@ -0,0 +1,89 @@ +[general.any.worker.html] + prefs: [browser.opaqueResponseBlocking.javascriptValidator:false] + expected: + if (os == "linux") and not debug and fission: [OK, CRASH] + [Stream will not error if body is empty. It's closed with an empty queue before it errors.] + expected: FAIL + + [Readable stream synchronously cancels with AbortError if aborted before reading] + expected: FAIL + + [Stream errors once aborted. Underlying connection closed.] + expected: + if (os == "linux") and not debug: [PASS, FAIL] + + [Stream errors once aborted, after reading. Underlying connection closed.] + expected: + if (os == "linux") and not fission: [PASS, FAIL] + + [Clone aborts with original controller] + expected: FAIL + + +[general.any.html] + prefs: [browser.opaqueResponseBlocking.javascriptValidator:false] + [Stream will not error if body is empty. It's closed with an empty queue before it errors.] + expected: FAIL + + [Readable stream synchronously cancels with AbortError if aborted before reading] + expected: FAIL + + [Stream errors once aborted. Underlying connection closed.] + expected: + if (os == "linux") and debug and not fission and not swgl: [PASS, FAIL] + + [Stream errors once aborted, after reading. Underlying connection closed.] + expected: + if (os == "linux") and not fission and not debug: [PASS, FAIL] + + [Clone aborts with original controller] + expected: FAIL + + +[general.any.sharedworker.html] + prefs: [browser.opaqueResponseBlocking.javascriptValidator:false] + expected: + if (os == "linux") and not debug and fission: [OK, CRASH] + [Stream will not error if body is empty. It's closed with an empty queue before it errors.] + expected: FAIL + + [Readable stream synchronously cancels with AbortError if aborted before reading] + expected: FAIL + + [Stream errors once aborted. Underlying connection closed.] + expected: + if (os == "linux") and not swgl and fission and not debug: [PASS, FAIL] + if (os == "linux") and not swgl and not fission and debug: [PASS, FAIL] + + [Stream errors once aborted, after reading. Underlying connection closed.] + expected: + if (os == "linux") and debug and not fission and not swgl: [PASS, FAIL] + + [Clone aborts with original controller] + expected: FAIL + + +[general.https.any.serviceworker.html] + expected: TIMEOUT + +[general.any.serviceworker.html] + prefs: [browser.opaqueResponseBlocking.javascriptValidator:false] + expected: + if (os == "linux") and not debug and fission: [OK, CRASH] + [Readable stream synchronously cancels with AbortError if aborted before reading] + expected: FAIL + + [Stream will not error if body is empty. It's closed with an empty queue before it errors.] + expected: FAIL + + [Stream errors once aborted. Underlying connection closed.] + expected: + if (os == "linux") and not fission and not debug: [PASS, FAIL] + + [Stream errors once aborted, after reading. Underlying connection closed.] + expected: + if (os == "linux") and not swgl and not fission and not debug: [PASS, FAIL] + if (os == "linux") and swgl: [PASS, FAIL] + + [Clone aborts with original controller] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/api/abort/request.any.js.ini b/testing/web-platform/meta/fetch/api/abort/request.any.js.ini new file mode 100644 index 0000000000..5150b6be80 --- /dev/null +++ b/testing/web-platform/meta/fetch/api/abort/request.any.js.ini @@ -0,0 +1,15 @@ +[request.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[request.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[request.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[request.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/fetch/api/abort/serviceworker-intercepted.https.html.ini b/testing/web-platform/meta/fetch/api/abort/serviceworker-intercepted.https.html.ini new file mode 100644 index 0000000000..c35c3cd8be --- /dev/null +++ b/testing/web-platform/meta/fetch/api/abort/serviceworker-intercepted.https.html.ini @@ -0,0 +1,7 @@ +[serviceworker-intercepted.https.html] + expected: TIMEOUT + [Service Worker can observe the fetch abort and associated abort reason] + expected: TIMEOUT + + [Abort reason serialization happens on abort] + expected: NOTRUN |