зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1204397 - Fix the test expectations to expect service workers to be enabled only on Nightly for Fennec; r=baku
This commit is contained in:
Родитель
c65c4a0250
Коммит
474c7a9e36
|
@ -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, releaseAndroid: false},
|
||||
{name: "ServiceWorker", b2g: false, nightlyAndroid: false},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "ServiceWorkerContainer", b2g: false, releaseAndroid: false},
|
||||
{name: "ServiceWorkerContainer", b2g: false, nightlyAndroid: false},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "ServiceWorkerRegistration", b2g: false, releaseAndroid: false},
|
||||
{name: "ServiceWorkerRegistration", b2g: false, nightlyAndroid: 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,6 +1487,7 @@ 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) ||
|
||||
|
@ -1495,7 +1496,6 @@ 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;
|
||||
|
|
|
@ -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, releaseAndroid: false },
|
||||
{ name: "ServiceWorkerRegistration", b2g: false, nightlyAndroid: 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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче