Implement W3C Secure Contexts Draft Specification
[WebKit.git] / LayoutTests / imported / w3c / web-platform-tests / secure-contexts / support / shared-worker-insecure-popup.html
1 <!DOCTYPE html>
2 <script src="../server-locations.sub.js"></script>
3 <body>
4   <script>
5     var url = self[location.search.substr(1)] + "support/https-subframe-shared.html";
6     onmessage = function(e) {
7       var data = e.data;
8       data.fromPopup = true;
9       opener.postMessage(data, "*");
10     }
11     var ifr = document.createElement("iframe");
12     ifr.src = url;
13     document.body.appendChild(ifr);
14   </script>
15 </body>