From 5606fefe1254c9369f39aa80705d52eaa578519a Mon Sep 17 00:00:00 2001 From: ishell Date: Wed, 3 Jun 2015 09:23:01 -0700 Subject: [PATCH] Fixed noi18n build. Review URL: https://codereview.chromium.org/1159553011 Cr-Commit-Position: refs/heads/master@{#28792} --- test/mjsunit/regress/regress-crbug-493284.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/mjsunit/regress/regress-crbug-493284.js b/test/mjsunit/regress/regress-crbug-493284.js index 85f7d2af91..64f9463471 100644 --- a/test/mjsunit/regress/regress-crbug-493284.js +++ b/test/mjsunit/regress/regress-crbug-493284.js @@ -4,5 +4,7 @@ // Flags: --invoke-weak-callbacks --omit-quit --no-test -var coll = new Intl.Collator(); -assertEquals(-1, coll.compare('a', 'c')); +if (this.Intl) { + var coll = new Intl.Collator(); + assertEquals(-1, coll.compare('a', 'c')); +}