summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/PluralRules/supportedLocalesOf/arguments.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/intl402/PluralRules/supportedLocalesOf/arguments.js')
-rw-r--r--js/src/tests/test262/intl402/PluralRules/supportedLocalesOf/arguments.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/js/src/tests/test262/intl402/PluralRules/supportedLocalesOf/arguments.js b/js/src/tests/test262/intl402/PluralRules/supportedLocalesOf/arguments.js
new file mode 100644
index 0000000000..bf6e487d6e
--- /dev/null
+++ b/js/src/tests/test262/intl402/PluralRules/supportedLocalesOf/arguments.js
@@ -0,0 +1,16 @@
+// Copyright 2016 Mozilla Corporation. All rights reserved.
+// This code is governed by the license found in the LICENSE file.
+
+/*---
+esid: sec-Intl.PluralRules.supportedLocalesOf
+description: >
+ Tests that Intl.PluralRules.supportedLocalesOf doesn't access
+ arguments that it's not given.
+author: Zibi Braniecki
+includes: [testIntl.js]
+---*/
+
+taintDataProperty(Object.prototype, "1");
+new Intl.PluralRules("und");
+
+reportCompare(0, 0);