From 318cebf8313840a5b2c6dcf76cab719e235c9ab3 Mon Sep 17 00:00:00 2001 From: Mark Miller <erights@gmail.com> Date: Sat, 24 Sep 2011 16:47:27 -0700 Subject: [PATCH] Fixes https://bugs.ecmascript.org/show_bug.cgi?id=31 --- .../S15.3.4.2_A1_T1.js | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A1_T1.js 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.2_Function.prototype.toString/S15.3.4.2_A1_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.2_Function.prototype.toString/S15.3.4.2_A1_T1.js deleted file mode 100644 index 7cc0d5bf86..0000000000 --- a/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.2_Function.prototype.toString/S15.3.4.2_A1_T1.js +++ /dev/null @@ -1,18 +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.2_A1_T1; -* @section: 15.3.4.2; -* @assertion: An implementation-dependent representation of the function is returned. This representation has the syntax of a FunctionDeclaration; -* @description: For testing use Function.prototype.toString() function; -*/ - -var f = function(x) { - return x*x; -}; - -//CHECK#1 -if (eval(f.toString())(10) !== f(10)) { - $ERROR('#1: An implementation-dependent representation of the function is returned. This representation has the syntax of a FunctionDeclaration'); -} -- GitLab