Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 <html>
2 <head>
3 <title>Test missing manifest</title>
5 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
6 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
8 <script type="text/javascript">
10 var gTestWin;
12 SimpleTest.waitForExplicitFinish();
14 SpecialPowers.pushPermissions([{'type': 'offline-app', 'allow': true, 'context': document}], startTest);
16 function startTest() {
17 // now this will properly load the manifest.
18 gTestWin = window.open("missing.html");
19 }
21 function finish() {
22 gTestWin.close();
23 SimpleTest.finish();
24 }
26 </script>
28 </head>
30 <body>
32 </body>
33 </html>