dom/tests/mochitest/ajax/offline/test_missingManifest.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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>

mercurial