From b4b28bfb9d2033ef4ef1eb7c3ad4fbcf5227567a Mon Sep 17 00:00:00 2001 From: Wes Kocher Date: Mon, 14 Sep 2015 12:46:57 -0700 Subject: [PATCH] Backed out 2 changesets (bug 1204397) for serviceworkers bustage CLOSED TREE? Backed out changeset 01cf8bf2f3d7 (bug 1204397) Backed out changeset 6abdb99b2b30 (bug 1204397) --- dom/tests/mochitest/general/test_interfaces.html | 8 ++++---- dom/workers/test/test_worker_interfaces.js | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dom/tests/mochitest/general/test_interfaces.html b/dom/tests/mochitest/general/test_interfaces.html index 16e4af58f4c4..82b7f1faf27c 100644 --- a/dom/tests/mochitest/general/test_interfaces.html +++ b/dom/tests/mochitest/general/test_interfaces.html @@ -990,11 +990,11 @@ var interfaceNamesInGlobalScope = // IMPORTANT: Do not change this list without review from a DOM peer! "Selection", // IMPORTANT: Do not change this list without review from a DOM peer! - {name: "ServiceWorker", b2g: false, nightlyAndroid: true}, + {name: "ServiceWorker", b2g: false, releaseAndroid: false}, // IMPORTANT: Do not change this list without review from a DOM peer! - {name: "ServiceWorkerContainer", b2g: false, nightlyAndroid: true}, + {name: "ServiceWorkerContainer", b2g: false, releaseAndroid: false}, // IMPORTANT: Do not change this list without review from a DOM peer! - {name: "ServiceWorkerRegistration", b2g: false, nightlyAndroid: true}, + {name: "ServiceWorkerRegistration", b2g: false, releaseAndroid: false}, // IMPORTANT: Do not change this list without review from a DOM peer! "SettingsLock", // IMPORTANT: Do not change this list without review from a DOM peer! @@ -1487,7 +1487,6 @@ function createInterfaceMap(isXBLScope) { } else { ok(!("pref" in entry), "Bogus pref annotation for " + entry.name); if ((entry.nightly === !isNightly) || - (entry.nightlyAndroid === !(isAndroid && isNightly)) || (entry.xbl === !isXBLScope) || (entry.desktop === !isDesktop) || (entry.b2g === !isB2G) || @@ -1496,6 +1495,7 @@ function createInterfaceMap(isXBLScope) { (entry.linux === !isLinux) || (entry.android === !isAndroid) || (entry.release === !isRelease) || + (entry.releaseAndroid === !(isAndroid && isRelease)) || (entry.permission && !hasPermission(entry.permission)) || entry.disabled) { interfaceMap[entry.name] = false; diff --git a/dom/workers/test/test_worker_interfaces.js b/dom/workers/test/test_worker_interfaces.js index 69d109b2d20c..7468484415a9 100644 --- a/dom/workers/test/test_worker_interfaces.js +++ b/dom/workers/test/test_worker_interfaces.js @@ -174,7 +174,7 @@ var interfaceNamesInGlobalScope = // IMPORTANT: Do not change this list without review from a DOM peer! "Response", // IMPORTANT: Do not change this list without review from a DOM peer! - { name: "ServiceWorkerRegistration", b2g: false, nightlyAndroid: true }, + { name: "ServiceWorkerRegistration", b2g: false, releaseAndroid: false }, // IMPORTANT: Do not change this list without review from a DOM peer! "TextDecoder", // IMPORTANT: Do not change this list without review from a DOM peer! @@ -219,11 +219,11 @@ function createInterfaceMap(permissionMap, version, userAgent, isB2G) { } else { ok(!("pref" in entry), "Bogus pref annotation for " + entry.name); if ((entry.nightly === !isNightly) || - (entry.nightlyAndroid === !(isAndroid && isNightly)) || (entry.desktop === !isDesktop) || (entry.android === !isAndroid) || (entry.b2g === !isB2G) || (entry.release === !isRelease) || + (entry.releaseAndroid === !(isAndroid && isRelease)) || (entry.permission && !permissionMap[entry.permission]) || entry.disabled) { interfaceMap[entry.name] = false;