diff options
Diffstat (limited to 'dom/tests/mochitest/ajax/offline/test_missingManifest.html')
-rw-r--r-- | dom/tests/mochitest/ajax/offline/test_missingManifest.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dom/tests/mochitest/ajax/offline/test_missingManifest.html b/dom/tests/mochitest/ajax/offline/test_missingManifest.html new file mode 100644 index 000000000..1d7bc83ec --- /dev/null +++ b/dom/tests/mochitest/ajax/offline/test_missingManifest.html @@ -0,0 +1,33 @@ +<html> +<head> +<title>Test missing manifest</title> + +<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> +<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" /> + +<script type="text/javascript"> + +var gTestWin; + +SimpleTest.waitForExplicitFinish(); + +SpecialPowers.pushPermissions([{'type': 'offline-app', 'allow': true, 'context': document}], startTest); + +function startTest() { + // now this will properly load the manifest. + gTestWin = window.open("missing.html"); +} + +function finish() { + gTestWin.close(); + SimpleTest.finish(); +} + +</script> + +</head> + +<body> + +</body> +</html> |