aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMark Miller <erights@gmail.com>2011-09-24 16:52:11 -0700
committerMark Miller <erights@gmail.com>2011-09-24 16:52:11 -0700
commit23e9693702a13da0c0eca61eac361ce68da45cf2 (patch)
tree6f3aecab0efb68f0dd99ad16a4555461fcbf7384 /test
parent318cebf8313840a5b2c6dcf76cab719e235c9ab3 (diff)
Fixes https://bugs.ecmascript.org/show_bug.cgi?id=28
Diffstat (limited to 'test')
-rw-r--r--test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T1.js19
-rw-r--r--test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T4.js19
2 files changed, 0 insertions, 38 deletions
diff --git a/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T1.js b/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T1.js
deleted file mode 100644
index 951602f99..000000000
--- a/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T1.js
+++ /dev/null
@@ -1,19 +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.3.4.3_A6_T1;
-* @section: 15.3.4.3;
-* @assertion: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown;
-* @description: argArray is (1,{});
-*/
-
-//CHECK#1
-try {
- Function().apply(1,{});
- $FAIL('#1: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown');
-} catch (e) {
- if (!(e instanceof TypeError)) {
- $ERROR('#1.1: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown');
- }
-}
diff --git a/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T4.js b/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T4.js
deleted file mode 100644
index ed16b07b9..000000000
--- a/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.3_Function.prototype.apply/S15.3.4.3_A6_T4.js
+++ /dev/null
@@ -1,19 +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.3.4.3_A6_T4;
-* @section: 15.3.4.3;
-* @assertion: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown;
-* @description: argArray is (this,function(){return arguments;});
-*/
-
-//CHECK#1
-try {
- Function().apply(this,function(){return arguments;});
- $FAIL('#1: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown');
-} catch (e) {
- if (!(e instanceof TypeError)) {
- $ERROR('#1.1: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown');
- }
-}