2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/
8 <title>Test that creating insecure websockets from https workers is not possible
</title>
9 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css" />
14 <div id=
"content" style=
"display: none">
18 <script class=
"testbody" language=
"javascript">
20 onmessage = function(event) {
21 is(event.data,
"not created",
"WebSocket object must not be created");
24 SimpleTest.waitForExplicitFinish();
28 <iframe src=
"https://example.com/tests/dom/websocket/tests/websocket_worker_https.html"></iframe>