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.8/7.8.2/S7.8.2_A1_T1.js | 15 +++++++++++++++ js/src/tests/test262/ch07/7.8/7.8.2/S7.8.2_A1_T2.js | 16 ++++++++++++++++ js/src/tests/test262/ch07/7.8/7.8.2/browser.js | 0 js/src/tests/test262/ch07/7.8/7.8.2/shell.js | 0 4 files changed, 31 insertions(+) create mode 100644 js/src/tests/test262/ch07/7.8/7.8.2/S7.8.2_A1_T1.js create mode 100644 js/src/tests/test262/ch07/7.8/7.8.2/S7.8.2_A1_T2.js create mode 100644 js/src/tests/test262/ch07/7.8/7.8.2/browser.js create mode 100644 js/src/tests/test262/ch07/7.8/7.8.2/shell.js (limited to 'js/src/tests/test262/ch07/7.8/7.8.2') diff --git a/js/src/tests/test262/ch07/7.8/7.8.2/S7.8.2_A1_T1.js b/js/src/tests/test262/ch07/7.8/7.8.2/S7.8.2_A1_T1.js new file mode 100644 index 000000000..f2925a291 --- /dev/null +++ b/js/src/tests/test262/ch07/7.8/7.8.2/S7.8.2_A1_T1.js @@ -0,0 +1,15 @@ +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** + * Literal :: BooleanLiteral + * + * @path ch07/7.8/7.8.2/S7.8.2_A1_T1.js + * @description BooleanLiteral :: true + */ + +//CHECK#1 +if (Boolean(true) !== true) { + $ERROR('#1: Boolean(true) === true. Actual: Boolean(true) === ' + (Boolean(true))); +} + diff --git a/js/src/tests/test262/ch07/7.8/7.8.2/S7.8.2_A1_T2.js b/js/src/tests/test262/ch07/7.8/7.8.2/S7.8.2_A1_T2.js new file mode 100644 index 000000000..5adaf379d --- /dev/null +++ b/js/src/tests/test262/ch07/7.8/7.8.2/S7.8.2_A1_T2.js @@ -0,0 +1,16 @@ +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** + * Literal :: BooleanLiteral + * + * @path ch07/7.8/7.8.2/S7.8.2_A1_T2.js + * @description BooleanLiteral :: false + */ + +//CHECK#1 +if (Boolean(false) !== false) { + $ERROR('#1: Boolean(false) === false. Actual: Boolean(false) === ' + (Boolean(false))); +} + + diff --git a/js/src/tests/test262/ch07/7.8/7.8.2/browser.js b/js/src/tests/test262/ch07/7.8/7.8.2/browser.js new file mode 100644 index 000000000..e69de29bb diff --git a/js/src/tests/test262/ch07/7.8/7.8.2/shell.js b/js/src/tests/test262/ch07/7.8/7.8.2/shell.js new file mode 100644 index 000000000..e69de29bb -- cgit v1.2.3