summaryrefslogtreecommitdiff
path: root/test/suite/intl402/ch10/10.2/10.2.2_b.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/intl402/ch10/10.2/10.2.2_b.js')
-rw-r--r--test/suite/intl402/ch10/10.2/10.2.2_b.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/suite/intl402/ch10/10.2/10.2.2_b.js b/test/suite/intl402/ch10/10.2/10.2.2_b.js
new file mode 100644
index 000000000..1b99fd8c5
--- /dev/null
+++ b/test/suite/intl402/ch10/10.2/10.2.2_b.js
@@ -0,0 +1,13 @@
+// Copyright 2013 Mozilla Corporation. All rights reserved.
+// This code is governed by the license found in the LICENSE file.
+
+/**
+ * @description Tests that Intl.Collator.supportedLocalesOf
+ * doesn't access arguments that it's not given.
+ * @author Norbert Lindenberg
+ */
+
+$INCLUDE("testIntl.js");
+
+taintDataProperty(Object.prototype, "1");
+new Intl.Collator("und");