summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/ch07/7.7
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /js/src/tests/test262/ch07/7.7
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'js/src/tests/test262/ch07/7.7')
-rw-r--r--js/src/tests/test262/ch07/7.7/S7.7_A1.js22
-rw-r--r--js/src/tests/test262/ch07/7.7/S7.7_A2_T1.js13
-rw-r--r--js/src/tests/test262/ch07/7.7/S7.7_A2_T10.js13
-rw-r--r--js/src/tests/test262/ch07/7.7/S7.7_A2_T2.js13
-rw-r--r--js/src/tests/test262/ch07/7.7/S7.7_A2_T3.js13
-rw-r--r--js/src/tests/test262/ch07/7.7/S7.7_A2_T4.js13
-rw-r--r--js/src/tests/test262/ch07/7.7/S7.7_A2_T5.js14
-rw-r--r--js/src/tests/test262/ch07/7.7/S7.7_A2_T6.js13
-rw-r--r--js/src/tests/test262/ch07/7.7/S7.7_A2_T7.js13
-rw-r--r--js/src/tests/test262/ch07/7.7/S7.7_A2_T8.js13
-rw-r--r--js/src/tests/test262/ch07/7.7/S7.7_A2_T9.js13
-rw-r--r--js/src/tests/test262/ch07/7.7/browser.js0
-rw-r--r--js/src/tests/test262/ch07/7.7/shell.js0
13 files changed, 153 insertions, 0 deletions
diff --git a/js/src/tests/test262/ch07/7.7/S7.7_A1.js b/js/src/tests/test262/ch07/7.7/S7.7_A1.js
new file mode 100644
index 000000000..e033e1164
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.7/S7.7_A1.js
@@ -0,0 +1,22 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * Correct interpretation of all punctuators
+ *
+ * @path ch07/7.7/S7.7_A1.js
+ * @description Using all punctuators
+ */
+
+//CHECK#1
+ ({});[];
+ this.NaN;
+ 1 < 2 > 3 <= 4 >= 5 == 6 != 7 === 8 !== 9;
+ 1 + 2 - 3 * 4 % 5 / 6 << 7 >> 8 >>> 9;
+ this.NaN++; ++this.NaN; this.NaN--; --this.NaN;
+ 1 & 2 | 3 ^ 4 && !5 || ~6;
+ 1 ? 2 : 3;
+ this.NaN = 1; this.NaN += 2; this.NaN -= 3; this.NaN *= 4; this.NaN /= 5;
+ this.NaN %= 6; this.NaN <<= 7; this.NaN >>= 8; this.NaN >>>= 9;
+ this.NaN &= 1; this.NaN |= 2; this.NaN ^= 3;
+
diff --git a/js/src/tests/test262/ch07/7.7/S7.7_A2_T1.js b/js/src/tests/test262/ch07/7.7/S7.7_A2_T1.js
new file mode 100644
index 000000000..1a545639d
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.7/S7.7_A2_T1.js
@@ -0,0 +1,13 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits
+ *
+ * @path ch07/7.7/S7.7_A2_T1.js
+ * @description Try to use {} as a Unicode \u007B\u007D
+ * @negative
+ */
+
+\u007B\u007D;
+
diff --git a/js/src/tests/test262/ch07/7.7/S7.7_A2_T10.js b/js/src/tests/test262/ch07/7.7/S7.7_A2_T10.js
new file mode 100644
index 000000000..6d71a5617
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.7/S7.7_A2_T10.js
@@ -0,0 +1,13 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits
+ *
+ * @path ch07/7.7/S7.7_A2_T10.js
+ * @description Try to use / as a Unicode \u002F
+ * @negative
+ */
+
+1\u002F2;
+
diff --git a/js/src/tests/test262/ch07/7.7/S7.7_A2_T2.js b/js/src/tests/test262/ch07/7.7/S7.7_A2_T2.js
new file mode 100644
index 000000000..1a06e190e
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.7/S7.7_A2_T2.js
@@ -0,0 +1,13 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits
+ *
+ * @path ch07/7.7/S7.7_A2_T2.js
+ * @description Try to use () as Unicode \u00281\u0029
+ * @negative
+ */
+
+\u00281\u0029;
+
diff --git a/js/src/tests/test262/ch07/7.7/S7.7_A2_T3.js b/js/src/tests/test262/ch07/7.7/S7.7_A2_T3.js
new file mode 100644
index 000000000..1b9b950f4
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.7/S7.7_A2_T3.js
@@ -0,0 +1,13 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits
+ *
+ * @path ch07/7.7/S7.7_A2_T3.js
+ * @description Try to use [] as a Unicode \u005B\u005D
+ * @negative
+ */
+
+\u005B\u005D;
+
diff --git a/js/src/tests/test262/ch07/7.7/S7.7_A2_T4.js b/js/src/tests/test262/ch07/7.7/S7.7_A2_T4.js
new file mode 100644
index 000000000..c877858e2
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.7/S7.7_A2_T4.js
@@ -0,0 +1,13 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits
+ *
+ * @path ch07/7.7/S7.7_A2_T4.js
+ * @description Try to use ; as a Unicode \u003B
+ * @negative
+ */
+
+\u003B;
+
diff --git a/js/src/tests/test262/ch07/7.7/S7.7_A2_T5.js b/js/src/tests/test262/ch07/7.7/S7.7_A2_T5.js
new file mode 100644
index 000000000..1b92226af
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.7/S7.7_A2_T5.js
@@ -0,0 +1,14 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits
+ *
+ * @path ch07/7.7/S7.7_A2_T5.js
+ * @description Try to use . as a Unicode \u002E
+ * @negative
+ */
+
+x = 1;
+this\u002Ex;
+
diff --git a/js/src/tests/test262/ch07/7.7/S7.7_A2_T6.js b/js/src/tests/test262/ch07/7.7/S7.7_A2_T6.js
new file mode 100644
index 000000000..e0cb0382f
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.7/S7.7_A2_T6.js
@@ -0,0 +1,13 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits
+ *
+ * @path ch07/7.7/S7.7_A2_T6.js
+ * @description Try to use , as a Unicode \u002C
+ * @negative
+ */
+
+1\u002C2;
+
diff --git a/js/src/tests/test262/ch07/7.7/S7.7_A2_T7.js b/js/src/tests/test262/ch07/7.7/S7.7_A2_T7.js
new file mode 100644
index 000000000..aff3092a6
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.7/S7.7_A2_T7.js
@@ -0,0 +1,13 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits
+ *
+ * @path ch07/7.7/S7.7_A2_T7.js
+ * @description Try to use + as a Unicode \u002B
+ * @negative
+ */
+
+1\u002B2;
+
diff --git a/js/src/tests/test262/ch07/7.7/S7.7_A2_T8.js b/js/src/tests/test262/ch07/7.7/S7.7_A2_T8.js
new file mode 100644
index 000000000..9e9cd1ac4
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.7/S7.7_A2_T8.js
@@ -0,0 +1,13 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits
+ *
+ * @path ch07/7.7/S7.7_A2_T8.js
+ * @description Try to use - as a Unicode \u002D
+ * @negative
+ */
+
+1\u002D2;
+
diff --git a/js/src/tests/test262/ch07/7.7/S7.7_A2_T9.js b/js/src/tests/test262/ch07/7.7/S7.7_A2_T9.js
new file mode 100644
index 000000000..7ba61f5a9
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.7/S7.7_A2_T9.js
@@ -0,0 +1,13 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * Punctuator cannot be expressed as a Unicode escape sequence consisting of six characters, namely \u plus four hexadecimal digits
+ *
+ * @path ch07/7.7/S7.7_A2_T9.js
+ * @description Try to use * as a Unicode \u002A
+ * @negative
+ */
+
+1\u002A2;
+
diff --git a/js/src/tests/test262/ch07/7.7/browser.js b/js/src/tests/test262/ch07/7.7/browser.js
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.7/browser.js
diff --git a/js/src/tests/test262/ch07/7.7/shell.js b/js/src/tests/test262/ch07/7.7/shell.js
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.7/shell.js