summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/websockets
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/websockets')
-rw-r--r--testing/web-platform/meta/websockets/basic-auth.any.js.ini3
-rw-r--r--testing/web-platform/meta/websockets/close-invalid.any.js.ini9
-rw-r--r--testing/web-platform/meta/websockets/constructor.any.js.ini4
-rw-r--r--testing/web-platform/meta/websockets/stream/tentative/close.any.js.ini356
-rw-r--r--testing/web-platform/meta/websockets/stream/tentative/remote-close.any.js.ini274
5 files changed, 640 insertions, 6 deletions
diff --git a/testing/web-platform/meta/websockets/basic-auth.any.js.ini b/testing/web-platform/meta/websockets/basic-auth.any.js.ini
index e3043aa28a..807d467cd9 100644
--- a/testing/web-platform/meta/websockets/basic-auth.any.js.ini
+++ b/testing/web-platform/meta/websockets/basic-auth.any.js.ini
@@ -18,6 +18,7 @@
if debug and (os == "win") and swgl: [OK, TIMEOUT]
if debug and (os == "android") and not swgl: [OK, ERROR]
if debug and (os == "linux"): [OK, ERROR]
+ if not debug and (processor == "x86"): TIMEOUT
[HTTP basic authentication should work with WebSockets]
expected:
if os == "mac": [PASS, TIMEOUT]
@@ -50,3 +51,5 @@
[basic-auth.any.sharedworker.html?wpt_flags=h2]
[basic-auth.any.serviceworker.html?wpt_flags=h2]
+ expected:
+ if (processor == "x86") and not debug: TIMEOUT
diff --git a/testing/web-platform/meta/websockets/close-invalid.any.js.ini b/testing/web-platform/meta/websockets/close-invalid.any.js.ini
index ba78aee3ba..a79c89daa8 100644
--- a/testing/web-platform/meta/websockets/close-invalid.any.js.ini
+++ b/testing/web-platform/meta/websockets/close-invalid.any.js.ini
@@ -1,14 +1,15 @@
[close-invalid.any.worker.html?wpt_flags=h2]
expected:
- if (os == "linux") and debug and not fission and swgl: [OK, TIMEOUT]
- if (os == "linux") and not debug and fission: [OK, TIMEOUT]
+ if (os == "linux") and not tsan and debug and not fission and swgl: [OK, TIMEOUT]
+ if (os == "linux") and not tsan and not debug and fission: [OK, TIMEOUT]
+ if (os == "linux") and tsan: [OK, TIMEOUT]
if (os == "android") and debug: [OK, TIMEOUT]
if (os == "android") and not debug: [OK, ERROR, TIMEOUT]
[close-invalid.any.html?wpt_flags=h2]
expected:
- if (os == "linux") and not asan and debug and fission and not swgl: [OK, TIMEOUT]
- if (os == "linux") and asan and fission: TIMEOUT
+ if (os == "linux") and not swgl and debug and fission: [OK, TIMEOUT]
+ if (os == "linux") and swgl and fission: TIMEOUT
if (os == "android") and swgl: [OK, TIMEOUT]
if (os == "android") and not swgl: [OK, ERROR, TIMEOUT]
[0 on a websocket]
diff --git a/testing/web-platform/meta/websockets/constructor.any.js.ini b/testing/web-platform/meta/websockets/constructor.any.js.ini
index 71ef860210..6de9725f28 100644
--- a/testing/web-platform/meta/websockets/constructor.any.js.ini
+++ b/testing/web-platform/meta/websockets/constructor.any.js.ini
@@ -2,8 +2,8 @@
[constructor.any.worker.html?wpt_flags=h2]
expected:
- if (os == "linux") and debug and fission and not swgl: [OK, TIMEOUT]
- if (os == "linux") and not debug and fission and (processor == "x86_64"): [OK, TIMEOUT]
+ if (os == "win") and not swgl and debug and (processor == "x86_64"): TIMEOUT
+ if (os == "linux") and fission and not swgl: [OK, TIMEOUT]
if (os == "win") and swgl: [OK, TIMEOUT]
if os == "android": [OK, ERROR, TIMEOUT]
diff --git a/testing/web-platform/meta/websockets/stream/tentative/close.any.js.ini b/testing/web-platform/meta/websockets/stream/tentative/close.any.js.ini
index c1f0ba7f85..4fad19edf8 100644
--- a/testing/web-platform/meta/websockets/stream/tentative/close.any.js.ini
+++ b/testing/web-platform/meta/websockets/stream/tentative/close.any.js.ini
@@ -421,6 +421,9 @@
[canceling the readable with a DOMException not set code or reason]
expected: FAIL
+ [incomplete closing handshake should be considered unclean close]
+ expected: FAIL
+
[close.any.sharedworker.html?wpt_flags=h2]
[close code should be sent to server and reflected back]
@@ -501,6 +504,9 @@
[canceling the readable with a DOMException not set code or reason]
expected: FAIL
+ [incomplete closing handshake should be considered unclean close]
+ expected: FAIL
+
[close.any.html?wss]
[close code should be sent to server and reflected back]
@@ -581,6 +587,9 @@
[canceling the readable with a DOMException not set code or reason]
expected: FAIL
+ [incomplete closing handshake should be considered unclean close]
+ expected: FAIL
+
[close.any.serviceworker.html?wss]
[close code should be sent to server and reflected back]
@@ -661,6 +670,9 @@
[canceling the readable with a DOMException not set code or reason]
expected: FAIL
+ [incomplete closing handshake should be considered unclean close]
+ expected: FAIL
+
[close.any.worker.html?wpt_flags=h2]
[close code should be sent to server and reflected back]
@@ -741,6 +753,9 @@
[canceling the readable with a DOMException not set code or reason]
expected: FAIL
+ [incomplete closing handshake should be considered unclean close]
+ expected: FAIL
+
[close.any.html?wpt_flags=h2]
[close code should be sent to server and reflected back]
@@ -821,6 +836,9 @@
[canceling the readable with a DOMException not set code or reason]
expected: FAIL
+ [incomplete closing handshake should be considered unclean close]
+ expected: FAIL
+
[close.any.worker.html?wss]
[close code should be sent to server and reflected back]
@@ -901,6 +919,9 @@
[canceling the readable with a DOMException not set code or reason]
expected: FAIL
+ [incomplete closing handshake should be considered unclean close]
+ expected: FAIL
+
[close.any.sharedworker.html?wss]
[close code should be sent to server and reflected back]
@@ -980,3 +1001,338 @@
[canceling the readable with a DOMException not set code or reason]
expected: FAIL
+
+ [incomplete closing handshake should be considered unclean close]
+ expected: FAIL
+
+
+[close.any.html?default]
+ [close code should be sent to server and reflected back]
+ expected: FAIL
+
+ [no close argument should send empty Close frame]
+ expected: FAIL
+
+ [unspecified close code should send empty Close frame]
+ expected: FAIL
+
+ [unspecified close code with empty reason should send empty Close frame]
+ expected: FAIL
+
+ [unspecified close code with non-empty reason should set code to 1000]
+ expected: FAIL
+
+ [close(true) should throw a TypeError]
+ expected: FAIL
+
+ [close() with an overlong reason should throw]
+ expected: FAIL
+
+ [close during handshake should work]
+ expected: FAIL
+
+ [close() with invalid code 999 should throw]
+ expected: FAIL
+
+ [close() with invalid code 1001 should throw]
+ expected: FAIL
+
+ [close() with invalid code 2999 should throw]
+ expected: FAIL
+
+ [close() with invalid code 5000 should throw]
+ expected: FAIL
+
+ [closing the writable should result in a clean close]
+ expected: FAIL
+
+ [writer close() promise should not resolve until handshake completes]
+ expected: FAIL
+
+ [incomplete closing handshake should be considered unclean close]
+ expected: FAIL
+
+ [aborting the writable should result in a clean close]
+ expected: FAIL
+
+ [aborting the writable with attributes not wrapped in a WebSocketError should be ignored]
+ expected: FAIL
+
+ [aborting the writable with a code should send that code]
+ expected: FAIL
+
+ [aborting the writable with a code and reason should use them]
+ expected: FAIL
+
+ [aborting the writable with a reason but no code should default the close code]
+ expected: FAIL
+
+ [aborting the writable with a DOMException not set code or reason]
+ expected: FAIL
+
+ [canceling the readable should result in a clean close]
+ expected: FAIL
+
+ [canceling the readable with attributes not wrapped in a WebSocketError should be ignored]
+ expected: FAIL
+
+ [canceling the readable with a code should send that code]
+ expected: FAIL
+
+ [canceling the readable with a code and reason should use them]
+ expected: FAIL
+
+ [canceling the readable with a reason but no code should default the close code]
+ expected: FAIL
+
+ [canceling the readable with a DOMException not set code or reason]
+ expected: FAIL
+
+
+[close.any.serviceworker.html?default]
+ [close code should be sent to server and reflected back]
+ expected: FAIL
+
+ [no close argument should send empty Close frame]
+ expected: FAIL
+
+ [unspecified close code should send empty Close frame]
+ expected: FAIL
+
+ [unspecified close code with empty reason should send empty Close frame]
+ expected: FAIL
+
+ [unspecified close code with non-empty reason should set code to 1000]
+ expected: FAIL
+
+ [close(true) should throw a TypeError]
+ expected: FAIL
+
+ [close() with an overlong reason should throw]
+ expected: FAIL
+
+ [close during handshake should work]
+ expected: FAIL
+
+ [close() with invalid code 999 should throw]
+ expected: FAIL
+
+ [close() with invalid code 1001 should throw]
+ expected: FAIL
+
+ [close() with invalid code 2999 should throw]
+ expected: FAIL
+
+ [close() with invalid code 5000 should throw]
+ expected: FAIL
+
+ [closing the writable should result in a clean close]
+ expected: FAIL
+
+ [writer close() promise should not resolve until handshake completes]
+ expected: FAIL
+
+ [incomplete closing handshake should be considered unclean close]
+ expected: FAIL
+
+ [aborting the writable should result in a clean close]
+ expected: FAIL
+
+ [aborting the writable with attributes not wrapped in a WebSocketError should be ignored]
+ expected: FAIL
+
+ [aborting the writable with a code should send that code]
+ expected: FAIL
+
+ [aborting the writable with a code and reason should use them]
+ expected: FAIL
+
+ [aborting the writable with a reason but no code should default the close code]
+ expected: FAIL
+
+ [aborting the writable with a DOMException not set code or reason]
+ expected: FAIL
+
+ [canceling the readable should result in a clean close]
+ expected: FAIL
+
+ [canceling the readable with attributes not wrapped in a WebSocketError should be ignored]
+ expected: FAIL
+
+ [canceling the readable with a code should send that code]
+ expected: FAIL
+
+ [canceling the readable with a code and reason should use them]
+ expected: FAIL
+
+ [canceling the readable with a reason but no code should default the close code]
+ expected: FAIL
+
+ [canceling the readable with a DOMException not set code or reason]
+ expected: FAIL
+
+
+[close.any.worker.html?default]
+ [close code should be sent to server and reflected back]
+ expected: FAIL
+
+ [no close argument should send empty Close frame]
+ expected: FAIL
+
+ [unspecified close code should send empty Close frame]
+ expected: FAIL
+
+ [unspecified close code with empty reason should send empty Close frame]
+ expected: FAIL
+
+ [unspecified close code with non-empty reason should set code to 1000]
+ expected: FAIL
+
+ [close(true) should throw a TypeError]
+ expected: FAIL
+
+ [close() with an overlong reason should throw]
+ expected: FAIL
+
+ [close during handshake should work]
+ expected: FAIL
+
+ [close() with invalid code 999 should throw]
+ expected: FAIL
+
+ [close() with invalid code 1001 should throw]
+ expected: FAIL
+
+ [close() with invalid code 2999 should throw]
+ expected: FAIL
+
+ [close() with invalid code 5000 should throw]
+ expected: FAIL
+
+ [closing the writable should result in a clean close]
+ expected: FAIL
+
+ [writer close() promise should not resolve until handshake completes]
+ expected: FAIL
+
+ [incomplete closing handshake should be considered unclean close]
+ expected: FAIL
+
+ [aborting the writable should result in a clean close]
+ expected: FAIL
+
+ [aborting the writable with attributes not wrapped in a WebSocketError should be ignored]
+ expected: FAIL
+
+ [aborting the writable with a code should send that code]
+ expected: FAIL
+
+ [aborting the writable with a code and reason should use them]
+ expected: FAIL
+
+ [aborting the writable with a reason but no code should default the close code]
+ expected: FAIL
+
+ [aborting the writable with a DOMException not set code or reason]
+ expected: FAIL
+
+ [canceling the readable should result in a clean close]
+ expected: FAIL
+
+ [canceling the readable with attributes not wrapped in a WebSocketError should be ignored]
+ expected: FAIL
+
+ [canceling the readable with a code should send that code]
+ expected: FAIL
+
+ [canceling the readable with a code and reason should use them]
+ expected: FAIL
+
+ [canceling the readable with a reason but no code should default the close code]
+ expected: FAIL
+
+ [canceling the readable with a DOMException not set code or reason]
+ expected: FAIL
+
+
+[close.any.sharedworker.html?default]
+ [close code should be sent to server and reflected back]
+ expected: FAIL
+
+ [no close argument should send empty Close frame]
+ expected: FAIL
+
+ [unspecified close code should send empty Close frame]
+ expected: FAIL
+
+ [unspecified close code with empty reason should send empty Close frame]
+ expected: FAIL
+
+ [unspecified close code with non-empty reason should set code to 1000]
+ expected: FAIL
+
+ [close(true) should throw a TypeError]
+ expected: FAIL
+
+ [close() with an overlong reason should throw]
+ expected: FAIL
+
+ [close during handshake should work]
+ expected: FAIL
+
+ [close() with invalid code 999 should throw]
+ expected: FAIL
+
+ [close() with invalid code 1001 should throw]
+ expected: FAIL
+
+ [close() with invalid code 2999 should throw]
+ expected: FAIL
+
+ [close() with invalid code 5000 should throw]
+ expected: FAIL
+
+ [closing the writable should result in a clean close]
+ expected: FAIL
+
+ [writer close() promise should not resolve until handshake completes]
+ expected: FAIL
+
+ [incomplete closing handshake should be considered unclean close]
+ expected: FAIL
+
+ [aborting the writable should result in a clean close]
+ expected: FAIL
+
+ [aborting the writable with attributes not wrapped in a WebSocketError should be ignored]
+ expected: FAIL
+
+ [aborting the writable with a code should send that code]
+ expected: FAIL
+
+ [aborting the writable with a code and reason should use them]
+ expected: FAIL
+
+ [aborting the writable with a reason but no code should default the close code]
+ expected: FAIL
+
+ [aborting the writable with a DOMException not set code or reason]
+ expected: FAIL
+
+ [canceling the readable should result in a clean close]
+ expected: FAIL
+
+ [canceling the readable with attributes not wrapped in a WebSocketError should be ignored]
+ expected: FAIL
+
+ [canceling the readable with a code should send that code]
+ expected: FAIL
+
+ [canceling the readable with a code and reason should use them]
+ expected: FAIL
+
+ [canceling the readable with a reason but no code should default the close code]
+ expected: FAIL
+
+ [canceling the readable with a DOMException not set code or reason]
+ expected: FAIL
diff --git a/testing/web-platform/meta/websockets/stream/tentative/remote-close.any.js.ini b/testing/web-platform/meta/websockets/stream/tentative/remote-close.any.js.ini
new file mode 100644
index 0000000000..90e9e47277
--- /dev/null
+++ b/testing/web-platform/meta/websockets/stream/tentative/remote-close.any.js.ini
@@ -0,0 +1,274 @@
+[remote-close.any.serviceworker.html?wpt_flags=h2]
+ [clean close should be clean]
+ expected: FAIL
+
+ [close frame with no body should result in status code 1005]
+ expected: FAIL
+
+ [reason should be passed through]
+ expected: FAIL
+
+ [UTF-8 reason should work]
+ expected: FAIL
+
+ [close with unwritten data should not be considered clean]
+ expected: FAIL
+
+ [remote code and reason should be used]
+ expected: FAIL
+
+ [abrupt close should give an error]
+ expected: FAIL
+
+
+[remote-close.any.worker.html?default]
+ [clean close should be clean]
+ expected: FAIL
+
+ [close frame with no body should result in status code 1005]
+ expected: FAIL
+
+ [reason should be passed through]
+ expected: FAIL
+
+ [UTF-8 reason should work]
+ expected: FAIL
+
+ [close with unwritten data should not be considered clean]
+ expected: FAIL
+
+ [remote code and reason should be used]
+ expected: FAIL
+
+ [abrupt close should give an error]
+ expected: FAIL
+
+
+[remote-close.any.html?wss]
+ [clean close should be clean]
+ expected: FAIL
+
+ [close frame with no body should result in status code 1005]
+ expected: FAIL
+
+ [reason should be passed through]
+ expected: FAIL
+
+ [UTF-8 reason should work]
+ expected: FAIL
+
+ [close with unwritten data should not be considered clean]
+ expected: FAIL
+
+ [remote code and reason should be used]
+ expected: FAIL
+
+ [abrupt close should give an error]
+ expected: FAIL
+
+
+[remote-close.any.html?default]
+ [clean close should be clean]
+ expected: FAIL
+
+ [close frame with no body should result in status code 1005]
+ expected: FAIL
+
+ [reason should be passed through]
+ expected: FAIL
+
+ [UTF-8 reason should work]
+ expected: FAIL
+
+ [close with unwritten data should not be considered clean]
+ expected: FAIL
+
+ [remote code and reason should be used]
+ expected: FAIL
+
+ [abrupt close should give an error]
+ expected: FAIL
+
+
+[remote-close.any.html?wpt_flags=h2]
+ [clean close should be clean]
+ expected: FAIL
+
+ [close frame with no body should result in status code 1005]
+ expected: FAIL
+
+ [reason should be passed through]
+ expected: FAIL
+
+ [UTF-8 reason should work]
+ expected: FAIL
+
+ [close with unwritten data should not be considered clean]
+ expected: FAIL
+
+ [remote code and reason should be used]
+ expected: FAIL
+
+ [abrupt close should give an error]
+ expected: FAIL
+
+
+[remote-close.any.serviceworker.html?wss]
+ [clean close should be clean]
+ expected: FAIL
+
+ [close frame with no body should result in status code 1005]
+ expected: FAIL
+
+ [reason should be passed through]
+ expected: FAIL
+
+ [UTF-8 reason should work]
+ expected: FAIL
+
+ [close with unwritten data should not be considered clean]
+ expected: FAIL
+
+ [remote code and reason should be used]
+ expected: FAIL
+
+ [abrupt close should give an error]
+ expected: FAIL
+
+
+[remote-close.any.serviceworker.html?default]
+ [clean close should be clean]
+ expected: FAIL
+
+ [close frame with no body should result in status code 1005]
+ expected: FAIL
+
+ [reason should be passed through]
+ expected: FAIL
+
+ [UTF-8 reason should work]
+ expected: FAIL
+
+ [close with unwritten data should not be considered clean]
+ expected: FAIL
+
+ [remote code and reason should be used]
+ expected: FAIL
+
+ [abrupt close should give an error]
+ expected: FAIL
+
+
+[remote-close.any.sharedworker.html?wss]
+ [clean close should be clean]
+ expected: FAIL
+
+ [close frame with no body should result in status code 1005]
+ expected: FAIL
+
+ [reason should be passed through]
+ expected: FAIL
+
+ [UTF-8 reason should work]
+ expected: FAIL
+
+ [close with unwritten data should not be considered clean]
+ expected: FAIL
+
+ [remote code and reason should be used]
+ expected: FAIL
+
+ [abrupt close should give an error]
+ expected: FAIL
+
+
+[remote-close.any.sharedworker.html?default]
+ [clean close should be clean]
+ expected: FAIL
+
+ [close frame with no body should result in status code 1005]
+ expected: FAIL
+
+ [reason should be passed through]
+ expected: FAIL
+
+ [UTF-8 reason should work]
+ expected: FAIL
+
+ [close with unwritten data should not be considered clean]
+ expected: FAIL
+
+ [remote code and reason should be used]
+ expected: FAIL
+
+ [abrupt close should give an error]
+ expected: FAIL
+
+
+[remote-close.any.sharedworker.html?wpt_flags=h2]
+ [clean close should be clean]
+ expected: FAIL
+
+ [close frame with no body should result in status code 1005]
+ expected: FAIL
+
+ [reason should be passed through]
+ expected: FAIL
+
+ [UTF-8 reason should work]
+ expected: FAIL
+
+ [close with unwritten data should not be considered clean]
+ expected: FAIL
+
+ [remote code and reason should be used]
+ expected: FAIL
+
+ [abrupt close should give an error]
+ expected: FAIL
+
+
+[remote-close.any.worker.html?wss]
+ [clean close should be clean]
+ expected: FAIL
+
+ [close frame with no body should result in status code 1005]
+ expected: FAIL
+
+ [reason should be passed through]
+ expected: FAIL
+
+ [UTF-8 reason should work]
+ expected: FAIL
+
+ [close with unwritten data should not be considered clean]
+ expected: FAIL
+
+ [remote code and reason should be used]
+ expected: FAIL
+
+ [abrupt close should give an error]
+ expected: FAIL
+
+
+[remote-close.any.worker.html?wpt_flags=h2]
+ [clean close should be clean]
+ expected: FAIL
+
+ [close frame with no body should result in status code 1005]
+ expected: FAIL
+
+ [reason should be passed through]
+ expected: FAIL
+
+ [UTF-8 reason should work]
+ expected: FAIL
+
+ [close with unwritten data should not be considered clean]
+ expected: FAIL
+
+ [remote code and reason should be used]
+ expected: FAIL
+
+ [abrupt close should give an error]
+ expected: FAIL