blob: 31b36e4d955d4c2a5d6a3e54867f47efd97253a6 [file] [log] [blame]
// META: script=websocket.sub.js
var test = async_test();
var wsocket = CreateWebSocket(true, false, false);
var isOpenCalled = false;
wsocket.addEventListener('open', test.step_func(function(evt) {
wsocket.close(undefined);
test.done();
}), true);