IPC hardening for WebPasteboardProxy::SetPasteboardBufferForType message
[WebKit-https.git] / LayoutTests / http / tests / websocket / construct-in-detached-frame.html
1 <!DOCTYPE html>
2 <script src="../resources/js-test-pre.js"></script>
3 <script>
4     description('Construct a WebSocket in a detached frame. The test passes if there is no crash.');
5
6     window.jsTestIsAsync = true;
7
8     function detachIframe()
9     {
10         var testIframe = document.getElementById('testIframe');
11         testIframe.parentNode.remove(testIframe);
12     }
13
14     function done()
15     {
16         finishJSTest();
17     }
18 </script>
19 <iframe src="resources/construct-in-detached-frame.html" id="testIframe"></iframe>
20 <script src="../resources/js-test-post.js"></script>