Implement WebSocket#onmessage.

This commit is contained in:
Ms2ger 2015-08-07 11:12:22 +02:00
parent 2a97ab36f7
commit 352229b6fa
28 changed files with 10 additions and 151 deletions

View file

@ -1,5 +0,0 @@
[001.html]
type: testharness
[WebSockets: getting on* 1]
expected: FAIL

View file

@ -1,5 +0,0 @@
[006.html]
type: testharness
[WebSockets: 'on*' in ws]
expected: FAIL

View file

@ -1,5 +0,0 @@
[007.html]
type: testharness
[WebSockets: listening for events with onmessage]
expected: TIMEOUT

View file

@ -1,5 +0,0 @@
[010.html]
type: testharness
[WebSockets: setting event handlers to undefined 3]
expected: FAIL

View file

@ -1,5 +0,0 @@
[011.html]
type: testharness
[onmessage]
expected: FAIL

View file

@ -1,5 +0,0 @@
[012.html]
type: testharness
[onmessage]
expected: FAIL

View file

@ -9,3 +9,6 @@
[onerror]
expected: FAIL
[onmessage]
expected: FAIL

View file

@ -1,5 +0,0 @@
[016.html]
type: testharness
[WebSockets: addEventListener]
expected: FAIL

View file

@ -1,6 +0,0 @@
[006.html]
type: testharness
expected: TIMEOUT
[WebSockets: send() with unpaired surrogate when readyState is OPEN]
expected: TIMEOUT

View file

@ -1,36 +0,0 @@
[010.html]
type: testharness
expected: TIMEOUT
[Constructor succeeds]
expected: TIMEOUT
[WebSockets: sending non-strings (null)]
expected: NOTRUN
[WebSockets: sending non-strings (undefined)]
expected: NOTRUN
[WebSockets: sending non-strings (1)]
expected: NOTRUN
[WebSockets: sending non-strings ([object Window\])]
expected: NOTRUN
[WebSockets: sending non-strings ([object HTMLBodyElement\])]
expected: NOTRUN
[WebSockets: sending non-strings ([object Object\])]
expected: NOTRUN
[WebSockets: sending non-strings ()]
expected: NOTRUN
[WebSockets: sending non-strings ([object WebSocket\])]
expected: NOTRUN
[WebSockets: sending non-strings (function (){})]
expected: NOTRUN
[WebSockets: sending non-strings (Error)]
expected: NOTRUN

View file

@ -1,6 +0,0 @@
[011.html]
type: testharness
expected: TIMEOUT
[WebSockets: sending non-ascii, combining chars and non-BMP]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[012.html]
type: testharness
expected: TIMEOUT
[WebSockets: sending null]
expected: TIMEOUT