Sign in
webkit
/
WebKit
/
d158dceef24649669aba9fdeae8c00646ba7bdc2
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
websockets
/
Secure-Close-undefined.any.js
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
);