|
1 <html> |
|
2 <head> |
|
3 <title>Test missing manifest</title> |
|
4 |
|
5 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> |
|
6 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" /> |
|
7 |
|
8 <script type="text/javascript"> |
|
9 |
|
10 var gTestWin; |
|
11 |
|
12 SimpleTest.waitForExplicitFinish(); |
|
13 |
|
14 SpecialPowers.pushPermissions([{'type': 'offline-app', 'allow': true, 'context': document}], startTest); |
|
15 |
|
16 function startTest() { |
|
17 // now this will properly load the manifest. |
|
18 gTestWin = window.open("missing.html"); |
|
19 } |
|
20 |
|
21 function finish() { |
|
22 gTestWin.close(); |
|
23 SimpleTest.finish(); |
|
24 } |
|
25 |
|
26 </script> |
|
27 |
|
28 </head> |
|
29 |
|
30 <body> |
|
31 |
|
32 </body> |
|
33 </html> |