summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/http/tests/websocket/close-event-expected.txt
blob: a605cc9d92d85636d125278d9c90f0352997fd99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Make sure WebSocket fires CloseEvent when closed.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".

WebSocket is open
Received: 'Hello from Simple WSH.'
Closed
PASS closeEventType is "close"
PASS 'wasClean' in closeEvent is true
PASS closeEvent.wasClean is true
PASS Object.getPrototypeOf(closeEvent) === CloseEvent.prototype is true
PASS Object.getPrototypeOf(closeEvent) !== Event.prototype is true
PASS successfullyParsed is true

TEST COMPLETE