Bug 1344625: Revert "Bug 1349879 - Intl object is hidden on Android beta and release channel". r=m_kato

MozReview-Commit-ID: 3hMis1hhqag

--HG--
extra : rebase_source : c746c2dd26a9076ab57ce75efcaf36b0dae38c42
This commit is contained in:
Zibi Braniecki 2017-07-17 22:21:47 -07:00
Родитель 51982f7d96
Коммит 2c5f451dee
3 изменённых файлов: 5 добавлений и 7 удалений

Просмотреть файл

@ -44,7 +44,7 @@ var ecmaGlobals =
"Int32Array",
"Int8Array",
"InternalError",
{name: "Intl", nonReleaseAndroid: true, android: false},
"Intl",
"Iterator",
"JSON",
"Map",
@ -1309,14 +1309,13 @@ function createInterfaceMap(isXBLScope) {
ok(!("pref" in entry), "Bogus pref annotation for " + entry.name);
if ((entry.nightly === !isNightly) ||
(entry.nightlyAndroid === !(isAndroid && isNightly) && isAndroid) ||
(entry.nonReleaseAndroid === !(isAndroid && !isRelease) && isAndroid) ||
(entry.xbl === !isXBLScope) ||
(entry.desktop === !isDesktop) ||
(entry.windows === !isWindows) ||
(entry.releaseNonWindows === !isRelease && !isWindows) ||
(entry.mac === !isMac) ||
(entry.linux === !isLinux) ||
(entry.android === !isAndroid && !entry.nonReleaseAndroid && !entry.nightlyAndroid) ||
(entry.android === !isAndroid && !entry.nightlyAndroid) ||
(entry.release === !isRelease) ||
(entry.isSecureContext === !isSecureContext) ||
entry.disabled) {

Просмотреть файл

@ -39,7 +39,7 @@ var ecmaGlobals =
"Int32Array",
"Int8Array",
"InternalError",
{name: "Intl", nonReleaseAndroid: true, android: false},
"Intl",
"Iterator",
"JSON",
"Map",

Просмотреть файл

@ -39,7 +39,7 @@ var ecmaGlobals =
"Int32Array",
"Int8Array",
"InternalError",
{name: "Intl", nonReleaseAndroid: true, android: false},
"Intl",
"Iterator",
"JSON",
"Map",
@ -262,9 +262,8 @@ function createInterfaceMap(version, userAgent) {
ok(!("pref" in entry), "Bogus pref annotation for " + entry.name);
if ((entry.nightly === !isNightly) ||
(entry.nightlyAndroid === !(isAndroid && isNightly) && isAndroid) ||
(entry.nonReleaseAndroid === !(isAndroid && !isRelease) && isAndroid) ||
(entry.desktop === !isDesktop) ||
(entry.android === !isAndroid && !entry.nonReleaseAndroid && !entry.nightlyAndroid) ||
(entry.android === !isAndroid && !entry.nightlyAndroid) ||
(entry.release === !isRelease) ||
(entry.isSecureContext === !isSecureContext) ||
entry.disabled) {