diff options
Diffstat (limited to 'testing/web-platform/meta/webtransport')
14 files changed, 487 insertions, 0 deletions
diff --git a/testing/web-platform/meta/webtransport/__dir__.ini b/testing/web-platform/meta/webtransport/__dir__.ini new file mode 100644 index 0000000000..041bbae7ba --- /dev/null +++ b/testing/web-platform/meta/webtransport/__dir__.ini @@ -0,0 +1,4 @@ +prefs: [network.webtransport.enabled:true, network.webtransport.datagrams.enabled:true] +# OCSP is disabled for this directory because we get errors from attempts to access the internet with it on +disabled: + if os == "android": 1823759 diff --git a/testing/web-platform/meta/webtransport/close.https.any.js.ini b/testing/web-platform/meta/webtransport/close.https.any.js.ini new file mode 100644 index 0000000000..e4a2e0b986 --- /dev/null +++ b/testing/web-platform/meta/webtransport/close.https.any.js.ini @@ -0,0 +1,95 @@ +[close.https.any.sharedworker.html] + expected: + if (os == "win") and not debug and (processor == "x86"): [OK, TIMEOUT] + if (os == "mac") and debug: [OK, TIMEOUT] + [OK, TIMEOUT, CRASH] + [close] + expected: [PASS, TIMEOUT] + + [close with code and reason] + expected: [PASS, TIMEOUT, NOTRUN] + + [close with code and long reason] + expected: [PASS, TIMEOUT, NOTRUN] + + [server initiated closure with code and reason] + expected: [PASS, TIMEOUT, NOTRUN] + + [server initiated connection closure] + expected: [FAIL, TIMEOUT, NOTRUN] + + [server initiated closure without code and reason] + expected: [PASS, TIMEOUT, NOTRUN] + + +[close.https.any.worker.html] + expected: + if not editorLegacyDirectionMode and (os == "win") and not debug and (processor == "x86"): [OK, TIMEOUT] + if not editorLegacyDirectionMode and (os == "mac") and debug: [OK, TIMEOUT] + if editorLegacyDirectionMode: [OK, ERROR, TIMEOUT, CRASH] + [OK, TIMEOUT, CRASH] + [close] + expected: [PASS, TIMEOUT, NOTRUN] + + [close with code and reason] + expected: [PASS, TIMEOUT, NOTRUN] + + [close with code and long reason] + expected: [PASS, TIMEOUT, NOTRUN] + + [server initiated closure with code and reason] + expected: [PASS, TIMEOUT, NOTRUN] + + [server initiated connection closure] + expected: [FAIL, TIMEOUT, NOTRUN] + + [server initiated closure without code and reason] + expected: [PASS, TIMEOUT, NOTRUN] + + +[close.https.any.serviceworker.html] + expected: + if fission and not editorLegacyDirectionMode and (os == "win") and not debug and (processor == "x86"): [OK, TIMEOUT] + if fission and not editorLegacyDirectionMode and (os == "linux") and debug and not swgl: [ERROR, OK, TIMEOUT] + if fission and not editorLegacyDirectionMode and (os == "mac") and debug: [OK, TIMEOUT] + if fission and editorLegacyDirectionMode: [OK, CRASH, ERROR, TIMEOUT] + if not fission: [OK, ERROR, TIMEOUT, CRASH] + [OK, ERROR, TIMEOUT] + [close] + expected: [PASS, TIMEOUT, NOTRUN] + + [close with code and reason] + expected: [PASS, TIMEOUT, NOTRUN] + + [close with code and long reason] + expected: [PASS, TIMEOUT, NOTRUN] + + [server initiated closure with code and reason] + expected: [PASS, TIMEOUT, NOTRUN] + + [server initiated connection closure] + expected: [FAIL, TIMEOUT, NOTRUN] + + [server initiated closure without code and reason] + expected: [PASS, TIMEOUT, NOTRUN] + + +[close.https.any.html] + expected: [OK, TIMEOUT] + [close] + expected: [PASS, TIMEOUT] + + [close with code and reason] + expected: [PASS, TIMEOUT, NOTRUN] + + [close with code and long reason] + expected: [PASS, TIMEOUT, NOTRUN] + + [server initiated closure with code and reason] + expected: [PASS, TIMEOUT, NOTRUN] + + [server initiated connection closure] + expected: [FAIL, TIMEOUT, NOTRUN] + + [server initiated closure without code and reason] + expected: [PASS, TIMEOUT, NOTRUN] diff --git a/testing/web-platform/meta/webtransport/connect.https.any.js.ini b/testing/web-platform/meta/webtransport/connect.https.any.js.ini new file mode 100644 index 0000000000..d256e5588b --- /dev/null +++ b/testing/web-platform/meta/webtransport/connect.https.any.js.ini @@ -0,0 +1,18 @@ +[connect.https.any.serviceworker.html] + expected: + if (os == "linux") and not debug and fission: [OK, ERROR] + if (os == "linux") and not debug and not fission: [OK, ERROR, CRASH] + if (os == "linux") and debug and not fission: [OK, ERROR, CRASH] + if (os == "mac") and not debug: [OK, ERROR] + +[connect.https.any.worker.html] + expected: + if (os == "mac") and not debug: [OK, CRASH] + if (os == "linux") and not debug: [OK, CRASH] + +[connect.https.any.html] + +[connect.https.any.sharedworker.html] + expected: + if (os == "mac") and not debug: [OK, CRASH] + if (os == "linux") and not debug: [OK, CRASH] diff --git a/testing/web-platform/meta/webtransport/constructor.https.any.js.ini b/testing/web-platform/meta/webtransport/constructor.https.any.js.ini new file mode 100644 index 0000000000..452a1a941d --- /dev/null +++ b/testing/web-platform/meta/webtransport/constructor.https.any.js.ini @@ -0,0 +1,23 @@ +[constructor.https.any.html] + expected: [OK] + +[constructor.https.any.worker.html] + expected: + if (os == "linux") and debug and fission and not swgl: OK + if (os == "mac") and debug: OK + if os == "win": OK + [OK, CRASH] + +[constructor.https.any.serviceworker.html] + expected: + if fission and (os == "linux") and debug and swgl: [OK, ERROR] + if not fission and debug and swgl: [OK, ERROR, CRASH] + if not fission and debug and not swgl: [OK, ERROR, CRASH] + if fission and (os == "linux") and not debug: [OK, ERROR] + if not fission and not debug: [OK, ERROR, CRASH] + +[constructor.https.any.sharedworker.html] + expected: + if fission and (os == "linux") and debug and swgl: [OK, CRASH] + if fission and (os == "linux") and not debug: [OK, CRASH] + if not fission: [OK, CRASH] diff --git a/testing/web-platform/meta/webtransport/csp-fail.https.window.js.ini b/testing/web-platform/meta/webtransport/csp-fail.https.window.js.ini new file mode 100644 index 0000000000..cb1b4aafe8 --- /dev/null +++ b/testing/web-platform/meta/webtransport/csp-fail.https.window.js.ini @@ -0,0 +1,4 @@ +[csp-fail.https.window.html] + expected: + if (os == "android"): [OK, TIMEOUT] + [OK] diff --git a/testing/web-platform/meta/webtransport/csp-pass.https.window.js.ini b/testing/web-platform/meta/webtransport/csp-pass.https.window.js.ini new file mode 100644 index 0000000000..bf0d1d93b0 --- /dev/null +++ b/testing/web-platform/meta/webtransport/csp-pass.https.window.js.ini @@ -0,0 +1,5 @@ +[csp-pass.https.window.html] + expected: + if (os == "android"): [OK, TIMEOUT] + [OK] + diff --git a/testing/web-platform/meta/webtransport/datagram-cancel-crash.https.window.js.ini b/testing/web-platform/meta/webtransport/datagram-cancel-crash.https.window.js.ini new file mode 100644 index 0000000000..44b64eb9aa --- /dev/null +++ b/testing/web-platform/meta/webtransport/datagram-cancel-crash.https.window.js.ini @@ -0,0 +1,4 @@ +[datagram-cancel-crash.https.window.html] + expected: + if (os == "android"): [OK, TIMEOUT] + [OK] diff --git a/testing/web-platform/meta/webtransport/datagrams.https.any.js.ini b/testing/web-platform/meta/webtransport/datagrams.https.any.js.ini new file mode 100644 index 0000000000..fd088bd47a --- /dev/null +++ b/testing/web-platform/meta/webtransport/datagrams.https.any.js.ini @@ -0,0 +1,110 @@ +[datagrams.https.any.html] + expected: + if not debug and (os == "win") and (processor == "x86_64"): [OK, TIMEOUT] + if not debug and (os == "linux") and fission: [OK, TIMEOUT] + [Successfully reading datagrams with BYOB reader.] + expected: FAIL + + [Reading datagrams with insufficient buffer should be rejected.] + expected: FAIL + + [Datagram's outgoingHighWaterMark correctly regulates written datagrams] + expected: + if not debug and (os == "win") and (processor == "x86_64"): [FAIL, NOTRUN] + if not debug and (os == "linux") and fission: [FAIL, NOTRUN] + FAIL + + [Datagrams read is less than or equal to the incomingHighWaterMark] + expected: + if not debug and (os == "win") and (processor == "x86_64"): [FAIL, PASS, NOTRUN] + if not debug and (os == "win") and (processor == "x86"): [PASS, FAIL] + if not debug and (os == "linux") and fission: [FAIL, PASS, NOTRUN] + [FAIL, PASS] + + [Datagram MaxAge getters/setters work correctly] + expected: + if not debug and (os == "win") and (processor == "x86_64"): [PASS, NOTRUN] + if not debug and (os == "linux") and fission: [PASS, NOTRUN] + + [Datagram HighWaterMark getters/setters work correctly] + expected: + if not debug and (os == "win") and (processor == "x86_64"): [PASS, NOTRUN] + if not debug and (os == "linux") and fission: [PASS, NOTRUN] + + [Sending and receiving datagrams is ready to use before session is established] + expected: + if not debug and (os == "win") and (processor == "x86_64"): [PASS, TIMEOUT] + if not debug and (os == "linux") and fission: [PASS, TIMEOUT] + + +[datagrams.https.any.serviceworker.html] + expected: + if fission and not debug and (os == "linux"): [OK, ERROR] + if fission and not debug and (os == "mac"): [OK, ERROR] + if not fission: [OK, ERROR, CRASH] + [Successfully reading datagrams with BYOB reader.] + expected: FAIL + + [Reading datagrams with insufficient buffer should be rejected.] + expected: FAIL + + [Datagram's outgoingHighWaterMark correctly regulates written datagrams] + expected: FAIL + + [Datagrams read is less than or equal to the incomingHighWaterMark] + expected: + if (os == "win") and not debug and (processor == "x86"): [PASS, FAIL] + [FAIL, PASS] + + +[datagrams.https.any.worker.html] + expected: + if (os == "linux") and not debug: [OK, CRASH] + if (os == "mac") and not debug: [OK, TIMEOUT, CRASH] + [Successfully reading datagrams with BYOB reader.] + expected: FAIL + + [Reading datagrams with insufficient buffer should be rejected.] + expected: FAIL + + [Datagram's outgoingHighWaterMark correctly regulates written datagrams] + expected: + if (os == "mac") and not debug: [FAIL, NOTRUN] + FAIL + + [Datagrams read is less than or equal to the incomingHighWaterMark] + expected: + if (os == "win") and not debug and (processor == "x86"): [PASS, FAIL] + if (os == "mac") and not debug: [FAIL, PASS, NOTRUN] + [FAIL, PASS] + + [Datagram MaxAge getters/setters work correctly] + expected: + if (os == "mac") and not debug: [PASS, NOTRUN] + + [Datagram HighWaterMark getters/setters work correctly] + expected: + if (os == "mac") and not debug: [PASS, NOTRUN] + + [Sending and receiving datagrams is ready to use before session is established] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + + +[datagrams.https.any.sharedworker.html] + expected: + if not debug and (os == "linux"): [OK, CRASH] + if not debug and (os == "mac"): [OK, CRASH] + [Successfully reading datagrams with BYOB reader.] + expected: FAIL + + [Reading datagrams with insufficient buffer should be rejected.] + expected: FAIL + + [Datagram's outgoingHighWaterMark correctly regulates written datagrams] + expected: FAIL + + [Datagrams read is less than or equal to the incomingHighWaterMark] + expected: + if (processor == "x86") and (os == "win") and not debug: [PASS, FAIL] + [FAIL, PASS] diff --git a/testing/web-platform/meta/webtransport/echo-large-bidirectional-streams.https.html.ini b/testing/web-platform/meta/webtransport/echo-large-bidirectional-streams.https.html.ini new file mode 100644 index 0000000000..113f8385b9 --- /dev/null +++ b/testing/web-platform/meta/webtransport/echo-large-bidirectional-streams.https.html.ini @@ -0,0 +1,8 @@ +[echo-large-bidirectional-streams.https.html] + expected: + if (os == "linux") and not debug and fission and (processor == "x86_64"): [TIMEOUT, OK] + if (os == "linux") and not debug and fission and (processor == "x86"): [OK, TIMEOUT] + [Ensure large bidirectional streams does not cause race condition] + expected: + if (os == "linux") and not debug and fission and (processor == "x86"): [PASS, TIMEOUT] + if (os == "linux") and not debug and fission and (processor == "x86_64"): [TIMEOUT, PASS] diff --git a/testing/web-platform/meta/webtransport/idlharness.https.any.js.ini b/testing/web-platform/meta/webtransport/idlharness.https.any.js.ini new file mode 100644 index 0000000000..8fa88fa6a6 --- /dev/null +++ b/testing/web-platform/meta/webtransport/idlharness.https.any.js.ini @@ -0,0 +1,30 @@ +[idlharness.https.any.html] + [WebTransport interface: attribute draining] + expected: FAIL + + [WebTransport interface: webTransport must inherit property "draining" with the proper type] + expected: FAIL + + +[idlharness.https.any.serviceworker.html] + [WebTransport interface: attribute draining] + expected: FAIL + + [WebTransport interface: webTransport must inherit property "draining" with the proper type] + expected: FAIL + + +[idlharness.https.any.sharedworker.html] + [WebTransport interface: attribute draining] + expected: FAIL + + [WebTransport interface: webTransport must inherit property "draining" with the proper type] + expected: FAIL + + +[idlharness.https.any.worker.html] + [WebTransport interface: attribute draining] + expected: FAIL + + [WebTransport interface: webTransport must inherit property "draining" with the proper type] + expected: FAIL diff --git a/testing/web-platform/meta/webtransport/in-removed-iframe.https.html.ini b/testing/web-platform/meta/webtransport/in-removed-iframe.https.html.ini new file mode 100644 index 0000000000..5a771f292d --- /dev/null +++ b/testing/web-platform/meta/webtransport/in-removed-iframe.https.html.ini @@ -0,0 +1,4 @@ +[in-removed-iframe.https.window.html] + expected: + if (os == "android"): [OK, TIMEOUT] + [OK] diff --git a/testing/web-platform/meta/webtransport/server-certificate-hashes.https.any.js.ini b/testing/web-platform/meta/webtransport/server-certificate-hashes.https.any.js.ini new file mode 100644 index 0000000000..9ba203a77e --- /dev/null +++ b/testing/web-platform/meta/webtransport/server-certificate-hashes.https.any.js.ini @@ -0,0 +1,18 @@ +[server-certificate-hashes.https.any.html] + [Connection fails due to certificate hash mismatch] + expected: FAIL + + +[server-certificate-hashes.https.any.sharedworker.html] + [Connection fails due to certificate hash mismatch] + expected: FAIL + + +[server-certificate-hashes.https.any.serviceworker.html] + [Connection fails due to certificate hash mismatch] + expected: FAIL + + +[server-certificate-hashes.https.any.worker.html] + [Connection fails due to certificate hash mismatch] + expected: FAIL diff --git a/testing/web-platform/meta/webtransport/streams-close.https.any.js.ini b/testing/web-platform/meta/webtransport/streams-close.https.any.js.ini new file mode 100644 index 0000000000..6db3864d25 --- /dev/null +++ b/testing/web-platform/meta/webtransport/streams-close.https.any.js.ini @@ -0,0 +1,33 @@ +[streams-close.https.any.worker.html] + expected: + if (os == "win") and not debug and (processor == "x86"): [TIMEOUT, OK] + if (os == "mac") and debug: [TIMEOUT, OK] + [TIMEOUT, OK, CRASH] + + [Close and abort unidirectional stream] + expected: FAIL + +[streams-close.https.any.html] + expected: [OK, TIMEOUT] + + [Close and abort unidirectional stream] + expected: FAIL + +[streams-close.https.any.sharedworker.html] + expected: + if (os == "win") and not debug and (processor == "x86"): [TIMEOUT, OK] + if (os == "mac") and debug: [TIMEOUT, OK] + [TIMEOUT, OK, CRASH] + + [Close and abort unidirectional stream] + expected: FAIL + +[streams-close.https.any.serviceworker.html] + expected: + if fission and (os == "win") and not debug and (processor == "x86"): [TIMEOUT, OK] + if fission and (os == "mac") and debug: [TIMEOUT, OK] + if not fission: [TIMEOUT, OK, ERROR, CRASH] + [TIMEOUT, OK, ERROR] + + [Close and abort unidirectional stream] + expected: FAIL diff --git a/testing/web-platform/meta/webtransport/streams-echo.https.any.js.ini b/testing/web-platform/meta/webtransport/streams-echo.https.any.js.ini new file mode 100644 index 0000000000..7250542027 --- /dev/null +++ b/testing/web-platform/meta/webtransport/streams-echo.https.any.js.ini @@ -0,0 +1,131 @@ +[streams-echo.https.any.html] + expected: [OK, TIMEOUT] + [WebTransport client should be able to create and handle a bidirectional stream without waiting for ready] + expected: [PASS, TIMEOUT, NOTRUN] + + [WebTransport client should be able to create and handle a bidirectional stream] + expected: [PASS, TIMEOUT, NOTRUN] + + [WebTransport client should be able to create, accept, and handle a unidirectional stream] + expected: [PASS, TIMEOUT, NOTRUN] + + [WebTransport client should be able to create, accept, and handle a unidirectional stream without waiting for ready] + expected: [PASS, TIMEOUT, NOTRUN] + + [WebTransport server should be able to accept and handle a bidirectional stream] + expected: [PASS, TIMEOUT, NOTRUN] + + [Can read data from a bidirectional stream with BYOB reader] + expected: [PASS, TIMEOUT, NOTRUN] + + [Can read data from a unidirectional stream with BYOB reader] + expected: [PASS, TIMEOUT, NOTRUN] + + [Transfer large chunks of data on a bidirectional stream] + expected: [PASS, TIMEOUT, NOTRUN] + + [Transfer large chunks of data on a unidirectional stream] + expected: [PASS, TIMEOUT, NOTRUN] + + [Closing the stream with no data still resolves the read request] + expected: [PASS, TIMEOUT, NOTRUN] + + +[streams-echo.https.any.worker.html] + expected: + if (os == "mac") and debug: [OK, TIMEOUT] + [OK, TIMEOUT, CRASH] + [WebTransport client should be able to create and handle a bidirectional stream] + expected: [PASS, TIMEOUT, NOTRUN] + + [WebTransport client should be able to create, accept, and handle a unidirectional stream] + expected: [PASS, TIMEOUT, NOTRUN] + + [WebTransport client should be able to create, accept, and handle a unidirectional stream without waiting for ready] + expected: [PASS, TIMEOUT, NOTRUN] + + [WebTransport client should be able to create and handle a bidirectional stream without waiting for ready] + expected: [PASS, TIMEOUT, NOTRUN] + + [WebTransport server should be able to accept and handle a bidirectional stream] + expected: [PASS, TIMEOUT, NOTRUN] + + [Can read data from a bidirectional stream with BYOB reader] + expected: [PASS, TIMEOUT, NOTRUN] + + [Can read data from a unidirectional stream with BYOB reader] + expected: [PASS, TIMEOUT, NOTRUN] + + [Transfer large chunks of data on a bidirectional stream] + expected: [PASS, TIMEOUT, NOTRUN] + + [Transfer large chunks of data on a unidirectional stream] + expected: [PASS, TIMEOUT, NOTRUN] + + [Closing the stream with no data still resolves the read request] + expected: [PASS, TIMEOUT, NOTRUN] + + +[streams-echo.https.any.sharedworker.html] + expected: + if (os == "mac") and debug: [OK, TIMEOUT] + [OK, TIMEOUT, CRASH] + [WebTransport client should be able to create, accept, and handle a unidirectional stream] + expected: [PASS, TIMEOUT, NOTRUN] + + [WebTransport client should be able to create, accept, and handle a unidirectional stream without waiting for ready] + expected: [PASS, TIMEOUT, NOTRUN] + + [WebTransport client should be able to create and handle a bidirectional stream without waiting for ready] + expected: [PASS, TIMEOUT, NOTRUN] + + [WebTransport server should be able to accept and handle a bidirectional stream] + expected: [PASS, TIMEOUT, NOTRUN] + + [Can read data from a bidirectional stream with BYOB reader] + expected: [PASS, TIMEOUT, NOTRUN] + + [Can read data from a unidirectional stream with BYOB reader] + expected: [PASS, TIMEOUT, NOTRUN] + + [Transfer large chunks of data on a bidirectional stream] + expected: [PASS, TIMEOUT, NOTRUN] + + [Transfer large chunks of data on a unidirectional stream] + expected: [PASS, TIMEOUT, NOTRUN] + + [Closing the stream with no data still resolves the read request] + expected: [PASS, TIMEOUT, NOTRUN] + + +[streams-echo.https.any.serviceworker.html] + expected: + if fission and (os == "mac") and debug: [OK, TIMEOUT] + if not fission: [OK, ERROR, TIMEOUT, CRASH] + [OK, ERROR, TIMEOUT] + [WebTransport client should be able to create and handle a bidirectional stream without waiting for ready] + expected: [PASS, TIMEOUT, NOTRUN] + + [WebTransport client should be able to create, accept, and handle a unidirectional stream] + expected: [PASS, TIMEOUT, NOTRUN] + + [WebTransport client should be able to create, accept, and handle a unidirectional stream without waiting for ready] + expected: [PASS, TIMEOUT, NOTRUN] + + [WebTransport server should be able to accept and handle a bidirectional stream] + expected: [PASS, TIMEOUT, NOTRUN] + + [Can read data from a bidirectional stream with BYOB reader] + expected: [PASS, TIMEOUT, NOTRUN] + + [Can read data from a unidirectional stream with BYOB reader] + expected: [PASS, TIMEOUT, NOTRUN] + + [Transfer large chunks of data on a bidirectional stream] + expected: [PASS, TIMEOUT, NOTRUN] + + [Transfer large chunks of data on a unidirectional stream] + expected: [PASS, TIMEOUT, NOTRUN] + + [Closing the stream with no data still resolves the read request] + expected: [PASS, TIMEOUT, NOTRUN] |