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

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     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