зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1349879
- Intl object is hidden on Android beta and release channel. r=snorp,Waldo
Some interface tests into mochitest is failure on android beta and release. test_serviceworker_interfaces.js has nonReleaseAndroid flag, so we should use it into test_interfaces.js and test_worker_interfaces.js MozReview-Commit-ID: A1aHrTXwGil --HG-- extra : rebase_source : 0990ec8a50b664ac711ee4977a104286f40ae07e
This commit is contained in:
Родитель
9708f9f50d
Коммит
1c93a16bad
|
@ -44,7 +44,7 @@ var ecmaGlobals =
|
|||
"Int32Array",
|
||||
"Int8Array",
|
||||
"InternalError",
|
||||
"Intl",
|
||||
{name: "Intl", nonReleaseAndroid: true, android: false},
|
||||
"Iterator",
|
||||
"JSON",
|
||||
"Map",
|
||||
|
@ -1316,12 +1316,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.mac === !isMac) ||
|
||||
(entry.linux === !isLinux) ||
|
||||
(entry.android === !isAndroid && !entry.nightlyAndroid) ||
|
||||
(entry.android === !isAndroid && !entry.nonReleaseAndroid && !entry.nightlyAndroid) ||
|
||||
(entry.release === !isRelease) ||
|
||||
(entry.isSecureContext === !isSecureContext) ||
|
||||
entry.disabled) {
|
||||
|
|
|
@ -39,7 +39,7 @@ var ecmaGlobals =
|
|||
"Int32Array",
|
||||
"Int8Array",
|
||||
"InternalError",
|
||||
"Intl",
|
||||
{name: "Intl", nonReleaseAndroid: true, android: false},
|
||||
"Iterator",
|
||||
"JSON",
|
||||
"Map",
|
||||
|
|
|
@ -39,7 +39,7 @@ var ecmaGlobals =
|
|||
"Int32Array",
|
||||
"Int8Array",
|
||||
"InternalError",
|
||||
"Intl",
|
||||
{name: "Intl", nonReleaseAndroid: true, android: false},
|
||||
"Iterator",
|
||||
"JSON",
|
||||
"Map",
|
||||
|
@ -262,8 +262,9 @@ 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.nightlyAndroid) ||
|
||||
(entry.android === !isAndroid && !entry.nonReleaseAndroid && !entry.nightlyAndroid) ||
|
||||
(entry.release === !isRelease) ||
|
||||
(entry.isSecureContext === !isSecureContext) ||
|
||||
entry.disabled) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче