summaryrefslogtreecommitdiff
path: root/test/suite/intl402/ch10/10.1/10.1.1_a.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/intl402/ch10/10.1/10.1.1_a.js')
-rw-r--r--test/suite/intl402/ch10/10.1/10.1.1_a.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/suite/intl402/ch10/10.1/10.1.1_a.js b/test/suite/intl402/ch10/10.1/10.1.1_a.js
new file mode 100644
index 000000000..56d4b9789
--- /dev/null
+++ b/test/suite/intl402/ch10/10.1/10.1.1_a.js
@@ -0,0 +1,14 @@
+// Copyright 2013 Mozilla Corporation. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * @description Tests that constructing a Collator doesn't create or modify
+ * unwanted properties on the RegExp constructor.
+ * @author Norbert Lindenberg
+ */
+
+$INCLUDE("testIntl.js");
+
+testForUnwantedRegExpChanges(function () {
+ new Intl.Collator("de-DE-u-co-phonebk");
+});