mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
db759f4a61
commit
9c8de66e1c
@ -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];
|
||||
|
@ -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.");
|
||||
|
Loading…
Reference in New Issue
Block a user