зеркало из https://github.com/mozilla/gecko-dev.git
Backed out 2 changesets (bug 1204397) for serviceworkers bustage
CLOSED TREE? Backed out changeset 01cf8bf2f3d7 (bug 1204397) Backed out changeset 6abdb99b2b30 (bug 1204397)
This commit is contained in:
Родитель
21155c35e0
Коммит
b4b28bfb9d
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче