mirror of
https://github.com/servo/servo.git
synced 2025-10-09 21:10:19 +01:00
10 lines
346 B
JavaScript
10 lines
346 B
JavaScript
// META: script=constants.sub.js
|
|
// META: variant=
|
|
// META: variant=?wpt_flags=h2
|
|
// META: variant=?wss
|
|
|
|
test(function() {
|
|
var wsocket = CreateWebSocket(true, false);
|
|
assert_equals(wsocket.protocol, "", "protocol should be empty");
|
|
wsocket.close();
|
|
}, "Create WebSocket - wsocket.protocol should be empty before connection is established")
|