Sign in
webkit
/
WebKit
/
4cc720436197cbbb8e4c48226df34e98d98509ab
/
.
/
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
);