mirror of
https://github.com/servo/servo
synced 2026-05-15 11:26:50 +02:00
8 lines
282 B
JavaScript
8 lines
282 B
JavaScript
// META: script=websocket.sub.js
|
|
|
|
test(function() {
|
|
var wsocket = CreateWebSocket(false, true, false);
|
|
assert_equals(wsocket.protocol, "", "protocol should be empty");
|
|
wsocket.close();
|
|
}, "Create WebSocket - wsocket.protocol should be empty before connection is established")
|