Bug 1816170 - Disable perftest-on-autoland cron. r=aglavic
[gecko.git] / dom / indexedDB / test / test_bug847147.html
blob5a6a9c283f2250d9e591d0c600116a56ed8b95b2
1 <!--
2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/
4 -->
5 <!DOCTYPE html>
6 <html>
7 <head>
8 <title>Indexed Database Property Test</title>
10 <script src="/tests/SimpleTest/SimpleTest.js"></script>
11 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
13 <script type="text/javascript" src="unit/test_transaction_lifetimes.js"></script>
14 <script type="text/javascript" src="helpers.js"></script>
16 <script>
18 var win;
19 var r1;
21 function e()
23 win = window.open("data:text/html,<body onload='opener.f()'>1", "_blank", "");
26 function f()
28 setTimeout(function() {
29 r1 = win.document.documentElement;
30 win.location.replace("data:text/html,<body onload='opener.g()'>2");
31 }, 0);
34 function g()
36 r1.appendChild(document.createElement("iframe"));
37 setTimeout(function() {
38 win.location = "data:text/html,<body onload='opener.h()'>3";
39 }, 0);
42 function h()
44 win.close();
45 ok(true, "This test is looking for assertions so this is irrelevant.");
46 SimpleTest.finish();
49 SimpleTest.waitForExplicitFinish();
51 </script>
52 </head>
54 <body onload="e();">
55 <button onclick="e();">Start test</button>
56 </body>
57 </html>