[tests] Fix test-native-method-names.js in noi18n mode.
Change-Id: Ie0d3be6c36d13b073df2e59890ef6c714c529011 Reviewed-on: https://chromium-review.googlesource.com/548055 Reviewed-by: Toon Verwaest <verwaest@chromium.org> Commit-Queue: Igor Sheludko <ishell@chromium.org> Cr-Commit-Position: refs/heads/master@{#46208}
This commit is contained in:
parent
7dc3b0b829
commit
baef1a4f63
@ -36,7 +36,7 @@ function CheckGetter(object, name) {
|
||||
|
||||
|
||||
(function TestIntl() {
|
||||
if (Intl == undefined) return;
|
||||
if (typeof (Intl) == "undefined") return;
|
||||
CheckMethod(Intl, "getCanonicalLocales", 1);
|
||||
|
||||
CheckMethod(Intl.Collator, "supportedLocalesOf", 1);
|
||||
|
Loading…
Reference in New Issue
Block a user