aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMark Miller <erights@gmail.com>2011-09-24 16:42:04 -0700
committerMark Miller <erights@gmail.com>2011-09-24 16:42:04 -0700
commit6adc4f7da91fe8a08536484f1eb3d6678bb1b92b (patch)
treeb191da1281fd9ce3e30dcda65c49153983a83279 /test
parent5c91ef1cb8890cca4b169522cf7bb578a829e7ce (diff)
Fixes bug https://bugs.ecmascript.org/show_bug.cgi?id=27 Also changed
an inappropriate @strict_mode_negative to @noStrict. There are more (many more?) of these to fix
Diffstat (limited to 'test')
-rw-r--r--test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T1.js28
-rw-r--r--test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T2.js15
-rw-r--r--test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A2_T1.js29
-rw-r--r--test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A2_T1.js28
-rw-r--r--test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A2_T2.js16
-rw-r--r--test/suite/sputnik/Conformance/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.3.js2
6 files changed, 1 insertions, 117 deletions
diff --git a/test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T1.js b/test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T1.js
deleted file mode 100644
index 591a09ced..000000000
--- a/test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T1.js
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S15.1.1.1_A2_T1;
- * @section: 15.1.1.1, 15.5.1, 15.6.1, 15.7.1;
- * @assertion: The NaN is not ReadOnly;
- * @description: Checking Boolean, Number, String Functions;
- * @strict_mode_negative
-*/
-
-// CHECK#1
-NaN = 1;
-if (Boolean(NaN) !== true) {
- $ERROR('#1: NaN = 1; Boolean(NaN) === true. Actual: ' + (Boolean(NaN)));
-}
-
-// CHECK#2
-NaN = true;
-if (Number(NaN) !== 1) {
- $ERROR('#2: NaN = true; Number(NaN) === 1. Actual: ' + (Number(NaN)));
-}
-
-// CHECK#3
-NaN = 1;
-if (String(NaN) !== "1") {
- $ERROR('#3: NaN = 1; String(NaN) === "1". Actual: ' + (String(NaN)));
-}
diff --git a/test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T2.js b/test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T2.js
deleted file mode 100644
index 09192e688..000000000
--- a/test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T2.js
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S15.1.1.1_A2_T2;
- * @section: 15.1.1.1, 11.4.3;
- * @assertion: The NaN is not ReadOnly;
- * @description: Checking typeof Operator;
-*/
-
-// CHECK#1
-NaN = true;
-if (typeof(NaN) !== "boolean") {
- $ERROR('#1: NaN = true; typeof(NaN) === "boolean". Actual: ' + (typeof(NaN)));
-}
diff --git a/test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A2_T1.js b/test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A2_T1.js
deleted file mode 100644
index d7be56a8c..000000000
--- a/test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.2_Infinity/S15.1.1.2_A2_T1.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S15.1.1.2_A2_T1;
- * @section: 15.1.1.2, 15.5.1, 15.6.1, 15.7.1;
- * @assertion: The Infinity is not ReadOnly;
- * @description: Checking Boolean, Number, String Functions;
- * @strict_mode_negative
-*/
-
-// CHECK#1
-Infinity = 0;
-if (Boolean(Infinity) !== false) {
- $ERROR('#1: Infinity = 0; Boolean(Infinity) === false. Actual: ' + (Boolean(Infinity)));
-}
-
-// CHECK#2
-Infinity = false;
-if (Number(Infinity) !== 0) {
- $ERROR('#2: Infinity = false; Number(Infinity) === 0. Actual: ' + (Number(Infinity)));
-}
-
-// CHECK#3
-Infinity = 0;
-if (String(Infinity) !== "0") {
- $ERROR('#3: Infinity = 0; String(Infinity) === "0". Actual: ' + (String(Infinity)));
-}
-
diff --git a/test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A2_T1.js b/test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A2_T1.js
deleted file mode 100644
index 5bc9afe50..000000000
--- a/test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A2_T1.js
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S15.1.1.3_A2_T1;
- * @section: 15.1.1.3, 15.5.1, 15.6.1, 15.7.1;
- * @assertion: The undefined is not ReadOnly;
- * @description: Checking Boolean, Number, String Functions;
- * @strict_mode_negative
-*/
-
-// CHECK#1
-undefined = 1;
-if (Boolean(undefined) !== true) {
- $ERROR('#1: undefined = 1; Boolean(undefined) === true. Actual: ' + (Boolean(undefined)));
-}
-
-// CHECK#2
-undefined = true;
-if (Number(undefined) !== 1) {
- $ERROR('#2: undefined = true; Number(undefined) === 1. Actual: ' + (Number(undefined)));
-}
-
-// CHECK#3
-undefined = 1;
-if (String(undefined) !== "1") {
- $ERROR('#3: undefined = 1; String(undefined) === "1". Actual: ' + (String(undefined)));
-}
diff --git a/test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A2_T2.js b/test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A2_T2.js
deleted file mode 100644
index 692c4f810..000000000
--- a/test/suite/sputnik/Conformance/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.3_undefined/S15.1.1.3_A2_T2.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S15.1.1.3_A2_T2;
- * @section: 15.1.1.3, 11.4.3;
- * @assertion: The undefined is not ReadOnly;
- * @description: Checking typeof Operator;
- * @strict_mode_negative
-*/
-
-// CHECK#1
-undefined = true;
-if (typeof(undefined) !== "boolean") {
- ERROR('#1: undefined = true; typeof(undefined) === "boolean". Actual: ' + (typeof(undefined)));
-}
diff --git a/test/suite/sputnik/Conformance/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.3.js b/test/suite/sputnik/Conformance/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.3.js
index a11c07a23..1dde36a42 100644
--- a/test/suite/sputnik/Conformance/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.3.js
+++ b/test/suite/sputnik/Conformance/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A6.3.js
@@ -6,7 +6,7 @@
* @section: 15.4.4.7;
* @assertion: The length property of push has the attribute ReadOnly;
* @description: Checking if varying the length property fails;
-* @strict_mode_negative
+* @noStrict
*/
//CHECK#1