Backed out changeset 4eba57a286d7 (bug 806168)

This commit is contained in:
Justin Lebar 2012-10-30 21:35:44 -04:00
parent 835ba529a7
commit 50dc5fc310

View File

@ -1,14 +1,18 @@
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
// This file has 4 leading spaces so that hg/git can tell that it's copied
// from test_webapp_clearBrowserData.html. We'll fix the indentation in
// the next commit.
const appDomain = "example.org";
const manifestURL =
"use strict";
const appDomain = "example.org";
const manifestURL =
location.protocol + "//" + appDomain + "/manifest.webapp";
function testSteps()
{
function testSteps()
{
const objectStoreName = "foo";
const testKey = 1;
const testValue = objectStoreName;
@ -106,10 +110,10 @@ function testSteps()
finishTest();
yield;
}
}
function start()
{
function start()
{
if (!SpecialPowers.isMainProcess()) {
todo(false, "Test disabled in child processes, for now");
SimpleTest.finish();
@ -144,4 +148,4 @@ function start()
SpecialPowers.pushPrefEnv({
"set": [["dom.mozBrowserFramesEnabled", true]]
}, runTest);
}
}