summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/regexp_parse/Everything.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/regexp_parse/Everything.js')
-rw-r--r--js/src/jit-test/tests/regexp_parse/Everything.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/regexp_parse/Everything.js b/js/src/jit-test/tests/regexp_parse/Everything.js
new file mode 100644
index 000000000..c1539a58b
--- /dev/null
+++ b/js/src/jit-test/tests/regexp_parse/Everything.js
@@ -0,0 +1,21 @@
+if (typeof parseRegExp === 'undefined')
+ quit();
+
+load(libdir + "regexp_parse.js");
+
+test_mix(".", no_unicode_flags,
+ CharacterClass([
+ ["\u0000", "\u0009"],
+ ["\u000b", "\u000c"],
+ ["\u000e", "\u2027"],
+ ["\u202A", "\uFFFF"]
+ ]));
+
+test_mix(".", unicode_flags,
+ AllSurrogateAndCharacterClass([
+ ["\u0000", "\u0009"],
+ ["\u000b", "\u000c"],
+ ["\u000e", "\u2027"],
+ ["\u202A", "\uD7FF"],
+ ["\uE000", "\uFFFF"]
+ ]));