blob: 9c2b8fbdbfdb3d1043050ca48904289300a6b0cb [file] [log] [blame]
FAIL close code should be sent to server and reflected back promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL no close argument should send empty Close frame promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL unspecified close code should send empty Close frame promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL unspecified close code with empty reason should send empty Close frame promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL unspecified close code with non-empty reason should set code to 1000 promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL close(true) should throw a TypeError promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL close() with an overlong reason should throw promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL close during handshake should work Can't find variable: WebSocketStream
FAIL close() with invalid code 999 should throw promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL close() with invalid code 1001 should throw promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL close() with invalid code 2999 should throw promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL close() with invalid code 5000 should throw promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL closing the writable should result in a clean close promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL writer close() promise should not resolve until handshake completes promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL aborting the writable should result in a clean close promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL aborting the writable with a code should send that code promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL aborting the writable with a code and reason should use them promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL aborting the writable with a reason but no code should be ignored promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL aborting the writable with an invalid code should be ignored promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL aborting the writable with an invalid reason should be ignored promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL aborting the writable with a DOMException should be ignored promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL canceling the readable should result in a clean close promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL canceling the readable with a code should send that code promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL canceling the readable with a code and reason should use them promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL canceling the readable with a reason but no code should be ignored promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL canceling the readable with an invalid code should be ignored promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL canceling the readable with an invalid reason should be ignored promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"
FAIL canceling the readable with a DOMException should be ignored promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: WebSocketStream"