Sign in
webkit
/
WebKit
/
5969b6f1f74632b1546edb27bd956b187c2c3d52
/
.
/
LayoutTests
/
http
/
tests
/
websocket
/
resources
/
construct-in-detached-frame.html
blob: ccb2b0a4b0827312821ebf9aaf9b9db7a4599310 [
file
] [
log
] [
blame
]
<!DOCTYPE html>
<script>
var
parentWindow
=
parent
;
var
webSocketClass
=
WebSocket
;
parentWindow
.
detachIframe
();
try
{
new
webSocketClass
(
'ws://127.0.0.1/'
);
}
catch
(
e
)
{
parentWindow
.
console
.
log
(
e
.
message
);
}
parentWindow
.
done
();
</script>