From 9c8de66e1caec9753cb36323c1ca02991a0bc865 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Wed, 15 Apr 2015 17:37:58 -0400 Subject: [PATCH] Bug 1154878 followup. Fix a test that expects to see navigator.taintEnabled in workers so we can reopen the CLOSED TREE. --- dom/workers/test/navigator_worker.js | 5 +---- dom/workers/test/test_navigator.html | 5 ----- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/dom/workers/test/navigator_worker.js b/dom/workers/test/navigator_worker.js index ed2bb40e1ae..2af41014bec 100644 --- a/dom/workers/test/navigator_worker.js +++ b/dom/workers/test/navigator_worker.js @@ -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]; diff --git a/dom/workers/test/test_navigator.html b/dom/workers/test/test_navigator.html index d54152778ae..2f3fc897f28 100644 --- a/dom/workers/test/test_navigator.html +++ b/dom/workers/test/test_navigator.html @@ -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.");