Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: test/mjsunit/regress/regress-crbug-493284.js

Issue 1159553011: Fixed noi18n build. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-493284.js
diff --git a/test/mjsunit/regress/regress-crbug-493284.js b/test/mjsunit/regress/regress-crbug-493284.js
index 85f7d2af9132d867358943b2899fad7819a78f0b..64f946347121a26222a759b25fbac763fee2e7ba 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'));
+}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698