summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/identifiers/part-unicode-6.0.0-escaped.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /js/src/tests/test262/language/identifiers/part-unicode-6.0.0-escaped.js
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/src/tests/test262/language/identifiers/part-unicode-6.0.0-escaped.js')
-rw-r--r--js/src/tests/test262/language/identifiers/part-unicode-6.0.0-escaped.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/js/src/tests/test262/language/identifiers/part-unicode-6.0.0-escaped.js b/js/src/tests/test262/language/identifiers/part-unicode-6.0.0-escaped.js
new file mode 100644
index 0000000000..21711f27da
--- /dev/null
+++ b/js/src/tests/test262/language/identifiers/part-unicode-6.0.0-escaped.js
@@ -0,0 +1,18 @@
+// Copyright 2022 Mathias Bynens. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+author: Mathias Bynens
+esid: sec-names-and-keywords
+description: |
+ Test that Unicode v6.0.0 ID_Continue characters are accepted as
+ identifier part characters in escaped form, i.e.
+ - \uXXXX or \u{XXXX} for BMP symbols
+ - \u{XXXXXX} for astral symbols
+info: |
+ Generated by https://github.com/mathiasbynens/caniunicode
+---*/
+
+var _\u065F\u0859\u085A\u085B\u093A\u093B\u094F\u0956\u0957\u0F8D\u0F8E\u0F8F\u135D\u135E\u1BE6\u1BE7\u1BE8\u1BE9\u1BEA\u1BEB\u1BEC\u1BED\u1BEE\u1BEF\u1BF0\u1BF1\u1BF2\u1BF3\u1DFC\u2D7F\u{11000}\u{11001}\u{11002}\u{11038}\u{11039}\u{1103A}\u{1103B}\u{1103C}\u{1103D}\u{1103E}\u{1103F}\u{11040}\u{11041}\u{11042}\u{11043}\u{11044}\u{11045}\u{11046}\u{11066}\u{11067}\u{11068}\u{11069}\u{1106A}\u{1106B}\u{1106C}\u{1106D}\u{1106E}\u{1106F};
+
+reportCompare(0, 0);