Sign in
webkit
/
WebKit
/
d0e9359bbbbbe54170cea1569c9fb736cfa3bccd
/
.
/
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>