Bug 1816170 - Disable perftest-on-autoland cron. r=aglavic
[gecko.git] / dom / indexedDB / test / third_party_window.html
blob14b16bf5d4998e2e14294acc8084bdb16d14fa7c
1 <!--
2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/
4 -->
5 <html>
6 <head>
7 <title>Indexed Database Test</title>
8 <script type="text/javascript">
9 let init = false;
10 onmessage = evt => {
11 if (!init) {
12 init = true;
14 let iframe = document.getElementById("iframe1");
15 iframe.src = evt.data.iframeUrl;
17 iframe.addEventListener("load", e => {
18 iframe.contentWindow.postMessage(JSON.stringify(evt.data), "*");
19 });
21 return;
24 opener.postMessage(evt.data, "*");
26 </script>
27 </head>
29 <body>
30 <iframe id="iframe1"></iframe>
31 </body>
33 </html>