From 72a64280aebd15c85db116a38d19cd547773421c Mon Sep 17 00:00:00 2001 From: Mark Miller Date: Sun, 25 Sep 2011 11:38:13 -0700 Subject: [PATCH] Fixes https://bugs.ecmascript.org/show_bug.cgi?id=133 --- test/config/excludelist.xml | 1 - .../13_Function_Definition/S13_A5.js | 48 ------------------- 2 files changed, 49 deletions(-) delete mode 100644 test/suite/sputnik/Conformance/13_Function_Definition/S13_A5.js diff --git a/test/config/excludelist.xml b/test/config/excludelist.xml index 52b027bd3c..1940aab824 100644 --- a/test/config/excludelist.xml +++ b/test/config/excludelist.xml @@ -123,7 +123,6 @@ https://bugs.ecmascript.org/show_bug.cgi?id=69 - https://bugs.ecmascript.org/show_bug.cgi?id=133 https://bugs.ecmascript.org/show_bug.cgi?id=127 https://bugs.ecmascript.org/show_bug.cgi?id=127 diff --git a/test/suite/sputnik/Conformance/13_Function_Definition/S13_A5.js b/test/suite/sputnik/Conformance/13_Function_Definition/S13_A5.js deleted file mode 100644 index 44b09b980f..0000000000 --- a/test/suite/sputnik/Conformance/13_Function_Definition/S13_A5.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S13_A5; -* @section: 13, 10.1.2; -* @assertion: Only FormalParameterList as arguments list is allowed; -* @description: Trying to use [arg1, arg2, arg3], (arg1, arg2, arg3), etc. as a FormalParameterList; -*/ - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try{ - eval("function __func([arg1, arg2, arg3]){return arguments.length;}"); - $ERROR('#1: eval("function __func([arg1, arg2, arg3]){return arguments.length;}") lead to throwing exception'); -} catch(e){ - if(!(e instanceof SyntaxError)){ - $ERROR('#1.1: eval("function __func([arg1, arg2, arg3]){return arguments.length;}") lead to throwing exception of SyntaxError. Actual: exception is '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -try{ - eval("function __func((arg1, arg2, arg3)){return arguments.length;}"); - $ERROR('#2: eval("function __func((arg1, arg2, arg3)){return arguments.length;}") lead to throwing exception') -} catch(e){ - if(!(e instanceof SyntaxError)){ - $ERROR('#2.1: eval("function __func((arg1, arg2, arg3)){return arguments.length;}") lead to throwing exception of SyntaxError. Actual: exception is '+e); - } -} -// -////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -try{ - eval("function __func(arg1, arg2, arg3,){return arguments.length;}"); - $ERROR('#3: eval("function __func(arg1, arg2, arg3,){return arguments.length;}") lead to throwing exception') -} catch(e){ - if(!(e instanceof SyntaxError)){ - $ERROR('#3.1: eval("function __func(arg1, arg2, arg3,){return arguments.length;}") lead to throwing exception of SyntaxError. Actual: exception is '+e); - } -} -// -//////////////////////////////////////////////////////////////////////////////