From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- js/src/tests/test262/ch07/7.7/S7.7_A1.js | 22 ++++++++++++++++++++++ js/src/tests/test262/ch07/7.7/S7.7_A2_T1.js | 13 +++++++++++++ js/src/tests/test262/ch07/7.7/S7.7_A2_T10.js | 13 +++++++++++++ js/src/tests/test262/ch07/7.7/S7.7_A2_T2.js | 13 +++++++++++++ js/src/tests/test262/ch07/7.7/S7.7_A2_T3.js | 13 +++++++++++++ js/src/tests/test262/ch07/7.7/S7.7_A2_T4.js | 13 +++++++++++++ js/src/tests/test262/ch07/7.7/S7.7_A2_T5.js | 14 ++++++++++++++ js/src/tests/test262/ch07/7.7/S7.7_A2_T6.js | 13 +++++++++++++ js/src/tests/test262/ch07/7.7/S7.7_A2_T7.js | 13 +++++++++++++ js/src/tests/test262/ch07/7.7/S7.7_A2_T8.js | 13 +++++++++++++ js/src/tests/test262/ch07/7.7/S7.7_A2_T9.js | 13 +++++++++++++ js/src/tests/test262/ch07/7.7/browser.js | 0 js/src/tests/test262/ch07/7.7/shell.js | 0 13 files changed, 153 insertions(+) create mode 100644 js/src/tests/test262/ch07/7.7/S7.7_A1.js create mode 100644 js/src/tests/test262/ch07/7.7/S7.7_A2_T1.js create mode 100644 js/src/tests/test262/ch07/7.7/S7.7_A2_T10.js create mode 100644 js/src/tests/test262/ch07/7.7/S7.7_A2_T2.js create mode 100644 js/src/tests/test262/ch07/7.7/S7.7_A2_T3.js create mode 100644 js/src/tests/test262/ch07/7.7/S7.7_A2_T4.js create mode 100644 js/src/tests/test262/ch07/7.7/S7.7_A2_T5.js create mode 100644 js/src/tests/test262/ch07/7.7/S7.7_A2_T6.js create mode 100644 js/src/tests/test262/ch07/7.7/S7.7_A2_T7.js create mode 100644 js/src/tests/test262/ch07/7.7/S7.7_A2_T8.js create mode 100644 js/src/tests/test262/ch07/7.7/S7.7_A2_T9.js create mode 100644 js/src/tests/test262/ch07/7.7/browser.js create mode 100644 js/src/tests/test262/ch07/7.7/shell.js (limited to 'js/src/tests/test262/ch07/7.7') 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 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 -- cgit v1.2.3