From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../bufferedAmount/bufferedAmount-arraybuffer.html | 27 +++++++++++ .../bufferedAmount/bufferedAmount-blob.html | 28 +++++++++++ .../bufferedAmount-defineProperty-getter.html | 18 +++++++ .../bufferedAmount-defineProperty-setter.html | 20 ++++++++ .../bufferedAmount/bufferedAmount-deleting.html | 23 +++++++++ .../bufferedAmount/bufferedAmount-getting.html | 54 +++++++++++++++++++++ .../bufferedAmount/bufferedAmount-initial.html | 15 ++++++ .../bufferedAmount/bufferedAmount-large.html | 29 +++++++++++ .../bufferedAmount/bufferedAmount-readonly.html | 16 +++++++ .../bufferedAmount/bufferedAmount-unicode.html | 25 ++++++++++ .../interfaces/WebSocket/close/close-basic.html | 26 ++++++++++ .../WebSocket/close/close-connecting-async.any.js | 31 ++++++++++++ .../WebSocket/close/close-connecting.html | 25 ++++++++++ .../interfaces/WebSocket/close/close-multiple.html | 29 +++++++++++ .../interfaces/WebSocket/close/close-nested.html | 28 +++++++++++ .../interfaces/WebSocket/close/close-replace.html | 15 ++++++ .../interfaces/WebSocket/close/close-return.html | 14 ++++++ .../interfaces/WebSocket/constants/001.html | 17 +++++++ .../interfaces/WebSocket/constants/002.html | 24 ++++++++++ .../interfaces/WebSocket/constants/003.html | 22 +++++++++ .../interfaces/WebSocket/constants/004.html | 21 ++++++++ .../interfaces/WebSocket/constants/005.html | 20 ++++++++ .../interfaces/WebSocket/constants/006.html | 20 ++++++++ .../interfaces/WebSocket/events/001.html | 18 +++++++ .../interfaces/WebSocket/events/002.html | 20 ++++++++ .../interfaces/WebSocket/events/003.html | 21 ++++++++ .../interfaces/WebSocket/events/004.html | 16 +++++++ .../interfaces/WebSocket/events/006.html | 17 +++++++ .../interfaces/WebSocket/events/007.html | 22 +++++++++ .../interfaces/WebSocket/events/008.html | 24 ++++++++++ .../interfaces/WebSocket/events/009.html | 21 ++++++++ .../interfaces/WebSocket/events/010.html | 21 ++++++++ .../interfaces/WebSocket/events/011.html | 18 +++++++ .../interfaces/WebSocket/events/012.html | 18 +++++++ .../interfaces/WebSocket/events/013.html | 20 ++++++++ .../interfaces/WebSocket/events/014.html | 21 ++++++++ .../interfaces/WebSocket/events/015.html | 36 ++++++++++++++ .../interfaces/WebSocket/events/016.html | 39 +++++++++++++++ .../interfaces/WebSocket/events/017.html | 56 ++++++++++++++++++++++ .../interfaces/WebSocket/events/018.html | 52 ++++++++++++++++++++ .../interfaces/WebSocket/events/019.html | 31 ++++++++++++ .../interfaces/WebSocket/events/020.html | 17 +++++++ .../interfaces/WebSocket/extensions/001.html | 14 ++++++ .../WebSocket/protocol/protocol-initial.html | 14 ++++++ .../interfaces/WebSocket/readyState/001.html | 13 +++++ .../interfaces/WebSocket/readyState/002.html | 15 ++++++ .../interfaces/WebSocket/readyState/003.html | 18 +++++++ .../interfaces/WebSocket/readyState/004.html | 17 +++++++ .../interfaces/WebSocket/readyState/005.html | 19 ++++++++ .../interfaces/WebSocket/readyState/006.html | 19 ++++++++ .../interfaces/WebSocket/readyState/007.html | 19 ++++++++ .../interfaces/WebSocket/readyState/008.html | 21 ++++++++ .../websockets/interfaces/WebSocket/send/001.html | 15 ++++++ .../websockets/interfaces/WebSocket/send/002.html | 15 ++++++ .../websockets/interfaces/WebSocket/send/003.html | 15 ++++++ .../websockets/interfaces/WebSocket/send/004.html | 25 ++++++++++ .../websockets/interfaces/WebSocket/send/005.html | 19 ++++++++ .../websockets/interfaces/WebSocket/send/006.html | 28 +++++++++++ .../websockets/interfaces/WebSocket/send/007.html | 27 +++++++++++ .../websockets/interfaces/WebSocket/send/008.html | 25 ++++++++++ .../websockets/interfaces/WebSocket/send/009.html | 27 +++++++++++ .../websockets/interfaces/WebSocket/send/010.html | 42 ++++++++++++++++ .../websockets/interfaces/WebSocket/send/011.html | 28 +++++++++++ .../websockets/interfaces/WebSocket/send/012.html | 28 +++++++++++ .../websockets/interfaces/WebSocket/url/001.html | 13 +++++ .../websockets/interfaces/WebSocket/url/002.html | 15 ++++++ .../websockets/interfaces/WebSocket/url/003.html | 17 +++++++ .../websockets/interfaces/WebSocket/url/004.html | 17 +++++++ .../websockets/interfaces/WebSocket/url/005.html | 17 +++++++ .../websockets/interfaces/WebSocket/url/006.html | 19 ++++++++ .../interfaces/WebSocket/url/resolve.html | 14 ++++++ 71 files changed, 1610 insertions(+) create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-arraybuffer.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-blob.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-defineProperty-getter.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-defineProperty-setter.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-deleting.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-getting.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-initial.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-large.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-readonly.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-unicode.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-basic.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-connecting-async.any.js create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-connecting.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-multiple.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-nested.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-replace.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-return.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/constants/001.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/constants/002.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/constants/003.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/constants/004.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/constants/005.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/constants/006.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/events/001.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/events/002.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/events/003.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/events/004.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/events/006.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/events/007.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/events/008.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/events/009.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/events/010.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/events/011.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/events/012.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/events/013.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/events/014.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/events/015.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/events/016.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/events/017.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/events/018.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/events/019.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/events/020.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/extensions/001.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/protocol/protocol-initial.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/001.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/002.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/003.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/004.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/005.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/006.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/007.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/008.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/send/001.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/send/002.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/send/003.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/send/004.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/send/005.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/send/006.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/send/007.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/send/008.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/send/009.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/send/010.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/send/011.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/send/012.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/url/001.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/url/002.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/url/003.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/url/004.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/url/005.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/url/006.html create mode 100644 testing/web-platform/tests/websockets/interfaces/WebSocket/url/resolve.html (limited to 'testing/web-platform/tests/websockets/interfaces/WebSocket') diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-arraybuffer.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-arraybuffer.html new file mode 100644 index 0000000000..5d2bfd076c --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-arraybuffer.html @@ -0,0 +1,27 @@ + + +WebSockets: bufferedAmount for ArrayBuffer + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-blob.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-blob.html new file mode 100644 index 0000000000..d0028dae0f --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-blob.html @@ -0,0 +1,28 @@ + + +WebSockets: bufferedAmount for blob + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-defineProperty-getter.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-defineProperty-getter.html new file mode 100644 index 0000000000..ea6e70cfcf --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-defineProperty-getter.html @@ -0,0 +1,18 @@ + + +WebSockets: defineProperty getter for bufferedAmount + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-defineProperty-setter.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-defineProperty-setter.html new file mode 100644 index 0000000000..8f0fa5c806 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-defineProperty-setter.html @@ -0,0 +1,20 @@ + + +WebSockets: defineProperty setter for bufferedAmount + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-deleting.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-deleting.html new file mode 100644 index 0000000000..1d99636bf0 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-deleting.html @@ -0,0 +1,23 @@ + + +WebSockets: delete bufferedAmount + + + + + +
+ + diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-getting.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-getting.html new file mode 100644 index 0000000000..92bcea6082 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-getting.html @@ -0,0 +1,54 @@ + + +WebSockets: bufferedAmount after send()ing + + + + + + +
+ + diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-initial.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-initial.html new file mode 100644 index 0000000000..be37b6dea0 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-initial.html @@ -0,0 +1,15 @@ + + +WebSockets: getting bufferedAmount + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-large.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-large.html new file mode 100644 index 0000000000..18c5482535 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-large.html @@ -0,0 +1,29 @@ + + +WebSockets: bufferedAmount for 65K data + + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-readonly.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-readonly.html new file mode 100644 index 0000000000..152da696e1 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-readonly.html @@ -0,0 +1,16 @@ + + +WebSockets: setting bufferedAmount + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-unicode.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-unicode.html new file mode 100644 index 0000000000..ab01f3c790 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-unicode.html @@ -0,0 +1,25 @@ + + +WebSockets: bufferedAmount for unicode data + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-basic.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-basic.html new file mode 100644 index 0000000000..b646ca4167 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-basic.html @@ -0,0 +1,26 @@ + +WebSockets: close() + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-connecting-async.any.js b/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-connecting-async.any.js new file mode 100644 index 0000000000..88005520b0 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-connecting-async.any.js @@ -0,0 +1,31 @@ +// META: script=../../../constants.sub.js +// META: variant=?default +// META: variant=?wpt_flags=h2 +// META: variant=?wss + +async_test(t => { + const ws = new WebSocket(SCHEME_DOMAIN_PORT + '/handshake_sleep_2'); + let closeMethodReturned = false; + let errorEventSeen = false; + let closeEventSeen = false; + ws.onerror = t.step_func(() => { + assert_true(closeMethodReturned, 'ws.close() should have returned'); + assert_false(errorEventSeen, 'error event should only fire once'); + errorEventSeen = true; + assert_false(closeEventSeen, 'error event should come before close event'); + }); + ws.onclose = t.step_func_done(() => { + assert_true(closeMethodReturned, 'ws.close() should have returned'); + assert_true(errorEventSeen, 'error event should have fired'); + assert_false(closeEventSeen, 'close event should only fire once'); + closeEventSeen = true; + assert_equals(ws.readyState, WebSocket.CLOSED, + 'readyState should be CLOSED'); + }); + assert_equals(ws.readyState, WebSocket.CONNECTING, + 'readyState should be CONNECTING'); + ws.close(); + closeMethodReturned = true; + assert_equals(ws.readyState, WebSocket.CLOSING, + 'readyState should be CLOSING'); +}, 'close event should be fired asynchronously when WebSocket is connecting'); diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-connecting.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-connecting.html new file mode 100644 index 0000000000..de038ca09f --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-connecting.html @@ -0,0 +1,25 @@ + +WebSockets: close() when connecting + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-multiple.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-multiple.html new file mode 100644 index 0000000000..e440d80179 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-multiple.html @@ -0,0 +1,29 @@ + +WebSockets: close() several times + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-nested.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-nested.html new file mode 100644 index 0000000000..74b8fa0c48 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-nested.html @@ -0,0 +1,28 @@ + +WebSockets: close() in close event handler + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-replace.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-replace.html new file mode 100644 index 0000000000..e9d2364794 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-replace.html @@ -0,0 +1,15 @@ + +WebSockets: replacing close + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-return.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-return.html new file mode 100644 index 0000000000..e74c9b076d --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/close/close-return.html @@ -0,0 +1,14 @@ + +WebSockets: close() return value + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/constants/001.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/constants/001.html new file mode 100644 index 0000000000..7d79bf5d7b --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/constants/001.html @@ -0,0 +1,17 @@ + +WebSockets: getting constants on constructor + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/constants/002.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/constants/002.html new file mode 100644 index 0000000000..6810bc6c29 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/constants/002.html @@ -0,0 +1,24 @@ + +WebSockets: setting constants + + + + + +
+ + diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/constants/003.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/constants/003.html new file mode 100644 index 0000000000..4a86af8b1c --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/constants/003.html @@ -0,0 +1,22 @@ + +WebSockets: deleting constants + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/constants/004.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/constants/004.html new file mode 100644 index 0000000000..2ca3830b72 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/constants/004.html @@ -0,0 +1,21 @@ + +WebSockets: getting constants on prototype and object + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/constants/005.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/constants/005.html new file mode 100644 index 0000000000..26d5b24d2c --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/constants/005.html @@ -0,0 +1,20 @@ + +WebSockets: defineProperty getter for constants + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/constants/006.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/constants/006.html new file mode 100644 index 0000000000..78126c86f5 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/constants/006.html @@ -0,0 +1,20 @@ + +WebSockets: defineProperty setter for constants + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/events/001.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/001.html new file mode 100644 index 0000000000..88dcf9e424 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/001.html @@ -0,0 +1,18 @@ + +WebSockets: getting on* + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/events/002.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/002.html new file mode 100644 index 0000000000..481730800c --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/002.html @@ -0,0 +1,20 @@ + +WebSockets: setting on* + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/events/003.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/003.html new file mode 100644 index 0000000000..a5373ecded --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/003.html @@ -0,0 +1,21 @@ + +WebSockets: listening for events with onopen + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/events/004.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/004.html new file mode 100644 index 0000000000..9c5144cefa --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/004.html @@ -0,0 +1,16 @@ + +WebSockets: members of EventTarget + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/events/006.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/006.html new file mode 100644 index 0000000000..de2f55694d --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/006.html @@ -0,0 +1,17 @@ + +WebSockets: 'on*' in ws + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/events/007.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/007.html new file mode 100644 index 0000000000..0fe7241ecf --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/007.html @@ -0,0 +1,22 @@ + +WebSockets: listening for events with onmessage + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/events/008.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/008.html new file mode 100644 index 0000000000..066eb0922e --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/008.html @@ -0,0 +1,24 @@ + +WebSockets: listening for events with onerror + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/events/009.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/009.html new file mode 100644 index 0000000000..b9e56e2fbd --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/009.html @@ -0,0 +1,21 @@ + +WebSockets: listening for events with onclose + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/events/010.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/010.html new file mode 100644 index 0000000000..360e7d9bd2 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/010.html @@ -0,0 +1,21 @@ + +WebSockets: setting event handlers to undefined + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/events/011.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/011.html new file mode 100644 index 0000000000..f64857579e --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/011.html @@ -0,0 +1,18 @@ + +WebSockets: setting event handlers to 1 + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/events/012.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/012.html new file mode 100644 index 0000000000..bdd63e3f69 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/012.html @@ -0,0 +1,18 @@ + +WebSockets: setting event handlers to ";" + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/events/013.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/013.html new file mode 100644 index 0000000000..9e251c6217 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/013.html @@ -0,0 +1,20 @@ + +WebSockets: setting event handlers to {handleEvent:function(){}} + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/events/014.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/014.html new file mode 100644 index 0000000000..9fcd8b3f6a --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/014.html @@ -0,0 +1,21 @@ + +WebSockets: setting event handlers to null + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/events/015.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/015.html new file mode 100644 index 0000000000..5089c0fb67 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/015.html @@ -0,0 +1,36 @@ + +WebSockets: instanceof on events + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/events/016.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/016.html new file mode 100644 index 0000000000..8b5aaf9f42 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/016.html @@ -0,0 +1,39 @@ + +WebSockets: addEventListener + + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/events/017.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/017.html new file mode 100644 index 0000000000..a9f06eaf7d --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/017.html @@ -0,0 +1,56 @@ + +WebSockets: this, e.target, e.currentTarget, e.eventPhase + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/events/018.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/018.html new file mode 100644 index 0000000000..a340c69f45 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/018.html @@ -0,0 +1,52 @@ + +WebSockets: toString(), bubbles, cancelable + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/events/019.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/019.html new file mode 100644 index 0000000000..deb079f81a --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/019.html @@ -0,0 +1,31 @@ + +WebSockets: removeEventListener + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/events/020.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/020.html new file mode 100644 index 0000000000..f43b0af93f --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/events/020.html @@ -0,0 +1,17 @@ + +WebSockets: error events + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/extensions/001.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/extensions/001.html new file mode 100644 index 0000000000..bd26483a79 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/extensions/001.html @@ -0,0 +1,14 @@ + +WebSockets: getting extensions in connecting + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/protocol/protocol-initial.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/protocol/protocol-initial.html new file mode 100644 index 0000000000..2e7bf66557 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/protocol/protocol-initial.html @@ -0,0 +1,14 @@ + +WebSockets: getting protocol in connecting + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/001.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/001.html new file mode 100644 index 0000000000..15b73fdb7c --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/001.html @@ -0,0 +1,13 @@ + +WebSockets: getting readyState in connecting + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/002.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/002.html new file mode 100644 index 0000000000..239e5d7cf8 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/002.html @@ -0,0 +1,15 @@ + +WebSockets: setting readyState + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/003.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/003.html new file mode 100644 index 0000000000..65d86c437f --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/003.html @@ -0,0 +1,18 @@ + +WebSockets: delete readyState + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/004.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/004.html new file mode 100644 index 0000000000..0645816a6c --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/004.html @@ -0,0 +1,17 @@ + +WebSockets: defineProperty getter for readyState + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/005.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/005.html new file mode 100644 index 0000000000..bee179ffcb --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/005.html @@ -0,0 +1,19 @@ + +WebSockets: defineProperty setter for readyState + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/006.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/006.html new file mode 100644 index 0000000000..4290c00836 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/006.html @@ -0,0 +1,19 @@ + +WebSockets: getting readyState in open + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/007.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/007.html new file mode 100644 index 0000000000..69b5d9c9a9 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/007.html @@ -0,0 +1,19 @@ + +WebSockets: getting readyState in closing + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/008.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/008.html new file mode 100644 index 0000000000..d085a7f4e3 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/readyState/008.html @@ -0,0 +1,21 @@ + +WebSockets: getting readyState in closed + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/send/001.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/001.html new file mode 100644 index 0000000000..8abc655f5d --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/001.html @@ -0,0 +1,15 @@ + +WebSockets: send() with no args + + + + + +
+ + diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/send/002.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/002.html new file mode 100644 index 0000000000..a51c67762c --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/002.html @@ -0,0 +1,15 @@ + +WebSockets: replacing send + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/send/003.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/003.html new file mode 100644 index 0000000000..069f24cde5 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/003.html @@ -0,0 +1,15 @@ + +WebSockets: send() when readyState is CONNECTING + + + + + +
+ + diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/send/004.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/004.html new file mode 100644 index 0000000000..7125d1922a --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/004.html @@ -0,0 +1,25 @@ + +WebSockets: send() with unpaired surrogate when readyState is CONNECTING + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/send/005.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/005.html new file mode 100644 index 0000000000..5da4600771 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/005.html @@ -0,0 +1,19 @@ + +WebSockets: send() return value + + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/send/006.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/006.html new file mode 100644 index 0000000000..4095c0ba6b --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/006.html @@ -0,0 +1,28 @@ + +WebSockets: send() with unpaired surrogate when readyState is OPEN + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/send/007.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/007.html new file mode 100644 index 0000000000..6a5614257a --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/007.html @@ -0,0 +1,27 @@ + +WebSockets: close() followed by send() + + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/send/008.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/008.html new file mode 100644 index 0000000000..709c066ade --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/008.html @@ -0,0 +1,25 @@ + +WebSockets: send() in onclose + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/send/009.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/009.html new file mode 100644 index 0000000000..57da896ea6 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/009.html @@ -0,0 +1,27 @@ + +WebSockets: send('') + + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/send/010.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/010.html new file mode 100644 index 0000000000..4a008b610c --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/010.html @@ -0,0 +1,42 @@ + +WebSockets: sending non-strings + + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/send/011.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/011.html new file mode 100644 index 0000000000..5f63c4471c --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/011.html @@ -0,0 +1,28 @@ + +WebSockets: sending non-ascii, combining chars and non-BMP + + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/send/012.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/012.html new file mode 100644 index 0000000000..9876c7bdd3 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/send/012.html @@ -0,0 +1,28 @@ + +WebSockets: sending null + + + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/url/001.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/url/001.html new file mode 100644 index 0000000000..6c7306d038 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/url/001.html @@ -0,0 +1,13 @@ + +WebSockets: getting url + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/url/002.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/url/002.html new file mode 100644 index 0000000000..e1cc6d0c01 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/url/002.html @@ -0,0 +1,15 @@ + +WebSockets: setting url + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/url/003.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/url/003.html new file mode 100644 index 0000000000..aaae33a4cc --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/url/003.html @@ -0,0 +1,17 @@ + +WebSockets: deleting url + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/url/004.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/url/004.html new file mode 100644 index 0000000000..7db5e1e425 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/url/004.html @@ -0,0 +1,17 @@ + +WebSockets: 'URL' + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/url/005.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/url/005.html new file mode 100644 index 0000000000..00a5d90024 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/url/005.html @@ -0,0 +1,17 @@ + +WebSockets: defineProperty getter for url + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/url/006.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/url/006.html new file mode 100644 index 0000000000..6e83770405 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/url/006.html @@ -0,0 +1,19 @@ + +WebSockets: defineProperty setter for url + + + + + +
+ diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/url/resolve.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/url/resolve.html new file mode 100644 index 0000000000..2452073827 --- /dev/null +++ b/testing/web-platform/tests/websockets/interfaces/WebSocket/url/resolve.html @@ -0,0 +1,14 @@ + +WebSocket#url: resolving + + + + + +
+ -- cgit v1.2.3