Bug 1154878 followup. Fix a test that expects to see navigator.taintEnabled in workers so we can reopen the CLOSED TREE.

This commit is contained in:
Boris Zbarsky 2015-04-15 17:37:58 -04:00
parent db759f4a61
commit 9c8de66e1c
2 changed files with 1 additions and 9 deletions

View File

@ -11,7 +11,6 @@ var supportedProps = [
{ name: "getDataStores", b2g: true },
"platform",
"product",
"taintEnabled",
"userAgent",
"onLine",
"language",
@ -66,9 +65,7 @@ function startTest(isB2G) {
obj = { name: prop };
if (prop === "taintEnabled") {
obj.value = navigator[prop]();
} else if (prop === "getDataStores") {
if (prop === "getDataStores") {
obj.value = typeof navigator[prop];
} else {
obj.value = navigator[prop];

View File

@ -35,11 +35,6 @@ Tests of DOM Worker Navigator
return;
}
if (args.name === "taintEnabled") {
is(navigator[args.name](), args.value, args.name + "() returns false.");
return;
}
if (args.name === "getDataStores") {
var type = typeof navigator[args.name];
is(type, args.value, "getDataStores() exists and it's a function.");