From b78c959d2a1d6987ea0dbe5b6970555de32fec58 Mon Sep 17 00:00:00 2001 From: David Fugate Date: Wed, 29 Jun 2011 11:11:12 -0700 Subject: [PATCH] New Sputnik 'negative' metadata that included exception type was causing problems for SputnikConverter. Took the easy fix and split the metadata into two: 'negative' and 'errortype'. --- test/suite/SputnikGlobalScope.js | 23 ++++- .../7.3_Line_Terminators/S7.3_A2.1_T1.js | 2 +- .../7.3_Line_Terminators/S7.3_A2.2_T1.js | 2 +- .../7.4_Comments/S7.4_A3.js | 2 +- .../7.4_Comments/S7.4_A4_T1.js | 2 +- .../7.4_Comments/S7.4_A4_T4.js | 2 +- .../S7.8.5_A1.2_T3.js | 2 +- .../S7.8.5_A1.3_T1.js | 2 +- .../S7.8.5_A1.3_T3.js | 2 +- .../S7.8.5_A1.5_T1.js | 2 +- .../12_Statement/12.1_Block/S12.1_A1.js | 3 +- .../12.5_The_if_Statement/S12.5_A9_T1.js | 3 +- .../12.5_The_if_Statement/S12.5_A9_T2.js | 3 +- .../S12.6.1_A13_T1.js | 3 +- .../S12.6.1_A13_T2.js | 3 +- .../S15.3.4.2_A12.js | 3 +- .../S15.3.4.2_A13.js | 3 +- .../S15.3.4.2_A14.js | 3 +- .../S15.3.4.2_A15.js | 3 +- .../S15.3.4.2_A16.js | 3 +- .../S15.3.4.3_A13.js | 3 +- .../S15.3.4.3_A14.js | 3 +- .../S15.3.4.3_A15.js | 3 +- .../S15.3.4.4_A13.js | 3 +- .../S15.3.4.4_A14.js | 3 +- .../S15.3.4.4_A15.js | 3 +- .../S15.3.4.5_A1.js | 3 +- .../S15.3.4.5_A13.js | 3 +- .../S15.3.4.5_A14.js | 3 +- .../S15.3.4.5_A15.js | 3 +- .../S15.3.4.5_A2.js | 3 +- .../12_Statement/12.1_Block/S12.1_A1.js | 40 ++------ .../12.5_The_if_Statement/S12.5_A7.js | 50 +++++----- .../12.5_The_if_Statement/S12.5_A9_T1.js | 44 +++------ .../12.5_The_if_Statement/S12.5_A9_T2.js | 48 +++------- .../S12.6.1_A1.js | 82 ++++++++--------- .../S12.6.1_A13_T1.js | 40 ++------ .../S12.6.1_A13_T2.js | 42 +++------ .../15.10.2.7_Quantifier/S15.10.2.7_A4_T2.js | 2 +- .../S15.10.6.2_A12.js | 36 ++++---- .../S15.10.6.2_A1_T1.js | 86 +++++++++--------- .../15.12.2_JSON.parse/S15.12.2_A1.js | 34 +++---- .../S15.2.4.2_A12.js | 24 ++--- .../S15.2.4.2_A13.js | 24 ++--- .../S15.2.4.2_A14.js | 26 +++--- .../S15.2.4.2_A15.js | 26 +++--- .../S15.2.4.2_A16.js | 26 +++--- .../S15.2.4.3_A12.js | 8 +- .../S15.2.4.3_A13.js | 8 +- .../S15.2.4.4_A12.js | 8 +- .../S15.2.4.4_A13.js | 8 +- .../S15.2.4.4_A14.js | 8 +- .../S15.2.4.5_A12.js | 8 +- .../S15.2.4.5_A13.js | 8 +- .../S15.2.4.6_A12.js | 8 +- .../S15.2.4.6_A13.js | 8 +- .../S15.2.4.7_A12.js | 8 +- .../S15.2.4.7_A13.js | 8 +- .../S15.3.4.2_A10.js | 46 +++++----- .../S15.3.4.2_A12.js | 29 +----- .../S15.3.4.2_A13.js | 29 +----- .../S15.3.4.2_A14.js | 29 +----- .../S15.3.4.2_A15.js | 30 +----- .../S15.3.4.2_A16.js | 34 ++----- .../S15.3.4.2_A1_T1.js | 36 ++++---- .../S15.3.4.3_A13.js | 29 +----- .../S15.3.4.3_A14.js | 29 +----- .../S15.3.4.3_A15.js | 29 +----- .../S15.3.4.3_A16.js | 48 +++++----- .../S15.3.4.4_A13.js | 29 +----- .../S15.3.4.4_A14.js | 29 +----- .../S15.3.4.4_A15.js | 29 +----- .../S15.3.4.4_A16.js | 48 +++++----- .../S15.3.4.5_A1.js | 36 ++------ .../S15.3.4.5_A13.js | 31 ++----- .../S15.3.4.5_A14.js | 31 ++----- .../S15.3.4.5_A15.js | 31 ++----- .../S15.3.4.5_A16.js | 48 +++++----- .../S15.3.4.5_A2.js | 36 ++------ .../S15.3.4_A1.js | 28 +++--- .../S15.3.4_A3_T1.js | 30 +++--- .../S15.3.5.1_A1_T1.js | 42 ++++----- .../S15.3.5_A1_T1.js | 30 +++--- .../S15.3.5_A1_T2.js | 32 +++---- .../S15.4.4.11_A8.js | 46 +++++----- .../S15.4.4.18_A1.js | 22 ++--- .../S15.4.4.18_A2.js | 28 +++--- .../S15.4.4_A1.1_T2.js | 28 +++--- .../S15.5.4.11_A12.js | 46 +++++----- .../S15.5.4.8_A1_T1.js | 42 ++++----- tools/SputnikConverter/ES5TestCase.cs | 2 +- ...t.Sputnik.Interop.ParserEngine.csproj.user | 2 +- tools/SputnikConverter/Program.cs | 1 + ...Microsoft.Sputnik.Interop.ParserEngine.exe | Bin 24064 -> 24064 bytes ...Microsoft.Sputnik.Interop.ParserEngine.pdb | Bin 48640 -> 48640 bytes .../bin/Debug/testNegativePrereqTemplate.js | 2 +- .../bin/Debug/testPrereqTemplate.js | 2 +- .../bin/Debug/testTemplate.js | 2 +- .../testNegativePrereqTemplate.js | 2 +- tools/SputnikConverter/testPrereqTemplate.js | 2 +- tools/SputnikConverter/testTemplate.js | 2 +- .../testcases/07_Lexical_Conventions.json | 2 +- .../resources/scripts/testcases/08_Types.json | 2 +- .../scripts/testcases/09_Type_Conversion.json | 2 +- .../testcases/10_Execution_Contexts.json | 2 +- .../11.10_Binary_Bitwise_Operators.json | 2 +- .../11.11_Binary_Logical_Operators.json | 2 +- .../testcases/11.12_Conditional_Operator.json | 2 +- .../testcases/11.13_Assignment_Operators.json | 2 +- .../testcases/11.14_Comma_Operator.json | 2 +- .../testcases/11.1_Primary_Expressions.json | 2 +- .../11.2_Left_Hand_Side_Expressions.json | 2 +- .../testcases/11.3_PostfixExpressions.json | 2 +- .../testcases/11.4_Unary_Operators.json | 2 +- .../11.5_Multiplicative_Operators.json | 2 +- .../testcases/11.6_Additive_Operators.json | 2 +- .../11.7_Bitwise_Shift_Operators.json | 2 +- .../testcases/11.8_Relational_Operators.json | 2 +- .../testcases/11.9_Equality_Operators.json | 2 +- .../scripts/testcases/12_Statement.json | 2 +- .../testcases/13_Function_Definition.json | 2 +- .../scripts/testcases/14_Program.json | 2 +- .../testcases/15.10_RegExp_Objects.json | 2 +- .../testcases/15.11_Error_Objects.json | 2 +- .../testcases/15.1_The_Global_Object.json | 2 +- .../testcases/15.2_Object_Objects.json | 2 +- .../testcases/15.3_Function_Objects.json | 2 +- .../scripts/testcases/15.4_Array_Objects.json | 2 +- .../testcases/15.5_String_Objects.json | 2 +- .../testcases/15.6_Boolean_Objects.json | 2 +- .../testcases/15.7_Number_Objects.json | 2 +- .../testcases/15.8_The_Math_Object.json | 2 +- .../scripts/testcases/15.9_Date_Objects.json | 2 +- .../scripts/testcases/SputnikGlobalScope.js | 48 ++++------ .../scripts/testcases/testcaseslist.json | 2 +- 135 files changed, 834 insertions(+), 1209 deletions(-) diff --git a/test/suite/SputnikGlobalScope.js b/test/suite/SputnikGlobalScope.js index 2d7dc03833..dfc6f1f6f3 100644 --- a/test/suite/SputnikGlobalScope.js +++ b/test/suite/SputnikGlobalScope.js @@ -238,6 +238,7 @@ GlobalScopeTests["S12.14_A16_T6"]={"assertion":"TryStatement: \"try Block Catch\ GlobalScopeTests["S12.14_A16_T7"]={"assertion":"TryStatement: \"try Block Catch\" or \"try Block Finally\" or \"try Block Catch Finally\"","description":"Block: \"{ StatementList }\". Checking if execution of \"try{} catch(){\" fails","id":"S12.14_A16_T7","path":"12_Statement\\12.14_The_try_Statement\\S12.14_A16_T7.js","negative":"."}; GlobalScopeTests["S12.14_A16_T8"]={"assertion":"TryStatement: \"try Block Catch\" or \"try Block Finally\" or \"try Block Catch Finally\"","description":"Block: \"{ StatementList }\". Catch: \"catch (Identifier ) Block\". Checking if execution of \"try{} catch(){finally{}\" fails","id":"S12.14_A16_T8","path":"12_Statement\\12.14_The_try_Statement\\S12.14_A16_T8.js","negative":"."}; GlobalScopeTests["S12.14_A16_T9"]={"assertion":"TryStatement: \"try Block Catch\" or \"try Block Finally\" or \"try Block Catch Finally\"","description":"Checking if execution of \"catch(){} finally{}\" fails","id":"S12.14_A16_T9","path":"12_Statement\\12.14_The_try_Statement\\S12.14_A16_T9.js","negative":"."}; +GlobalScopeTests["S12.1_A1"]={"assertion":"The production Block { } in strict code can't contain function declaration","description":"Trying to declare function at the Block statement","id":"S12.1_A1","path":"12_Statement\\12.1_Block\\S12.1_A1.js","negative":"."}; GlobalScopeTests["S12.1_A4_T1"]={"assertion":"The production Block can't be inside of expression","description":"Checking if execution of \"y={__func}()\" fails","id":"S12.1_A4_T1","path":"12_Statement\\12.1_Block\\S12.1_A4_T1.js","negative":"."}; GlobalScopeTests["S12.1_A4_T2"]={"assertion":"The production Block can't be inside of expression","description":"Checking if execution of \"y={x}\" fails","id":"S12.1_A4_T2","path":"12_Statement\\12.1_Block\\S12.1_A4_T2.js","negative":"."}; GlobalScopeTests["S12.2_A8_T1"]={"assertion":"Only AssignmentExpression is admitted when variable is initialized","description":"Checking if execution of \"var x += 1\" fails","id":"S12.2_A8_T1","path":"12_Statement\\12.2_Variable_Statement\\S12.2_A8_T1.js","negative":"."}; @@ -254,8 +255,12 @@ GlobalScopeTests["S12.5_A2"]={"assertion":"In the \"if\" Statement eval in Expre GlobalScopeTests["S12.5_A6_T1"]={"assertion":"In the If statement expression must be enclosed in braces","description":"Checking if execution of \"if true\" fails","id":"S12.5_A6_T1","path":"12_Statement\\12.5_The_if_Statement\\S12.5_A6_T1.js","negative":"."}; GlobalScopeTests["S12.5_A6_T2"]={"assertion":"In the If statement expression must be enclosed in braces","description":"Checking if execution of \"if false\" fails","id":"S12.5_A6_T2","path":"12_Statement\\12.5_The_if_Statement\\S12.5_A6_T2.js","negative":"."}; GlobalScopeTests["S12.5_A8"]={"assertion":"In the \"if\" Statement empty expression is not allowed","description":"Checking if execution of \"if()\" fails","id":"S12.5_A8","path":"12_Statement\\12.5_The_if_Statement\\S12.5_A8.js","negative":"."}; +GlobalScopeTests["S12.5_A9_T1"]={"assertion":"Function declaration within an \"if\" statement in strict code is not allowed","description":"Declaring function within an \"if\" statement","id":"S12.5_A9_T1","path":"12_Statement\\12.5_The_if_Statement\\S12.5_A9_T1.js","negative":"."}; +GlobalScopeTests["S12.5_A9_T2"]={"assertion":"Function declaration within an \"if\" statement in strict code is not allowed","description":"Declaring function within an \"if\" that is declared within the strict function","id":"S12.5_A9_T2","path":"12_Statement\\12.5_The_if_Statement\\S12.5_A9_T2.js","negative":"."}; GlobalScopeTests["S12.5_A9_T3"]={"assertion":"Function declaration within an \"if\" statement is not allowed","description":"Declaring function within an \"if\" statement that is declared within the function declaration","id":"S12.5_A9_T3","path":"12_Statement\\12.5_The_if_Statement\\S12.5_A9_T3.js","negative":"."}; GlobalScopeTests["S12.6.1_A12"]={"assertion":"Any statement within \"do-while\" construction must be a compound","description":"Checking if execution of \"do var x=1; var y =2; while (0)\" fails","id":"S12.6.1_A12","path":"12_Statement\\12.6_Iteration_Statements\\12.6.1_The_do_while_Statement\\S12.6.1_A12.js","negative":"."}; +GlobalScopeTests["S12.6.1_A13_T1"]={"assertion":"FunctionDeclaration within a \"do-while\" Block in strict code is not allowed","description":"Declaring function within a \"do-while\" loop","id":"S12.6.1_A13_T1","path":"12_Statement\\12.6_Iteration_Statements\\12.6.1_The_do_while_Statement\\S12.6.1_A13_T1.js","negative":"."}; +GlobalScopeTests["S12.6.1_A13_T2"]={"assertion":"FunctionDeclaration within a \"do-while\" Block in strict code is not allowed","description":"Declaring a function within a \"do-while\" loop that is within a strict function","id":"S12.6.1_A13_T2","path":"12_Statement\\12.6_Iteration_Statements\\12.6.1_The_do_while_Statement\\S12.6.1_A13_T2.js","negative":"."}; GlobalScopeTests["S12.6.1_A13_T3"]={"assertion":"FunctionDeclaration within a \"do-while\" Block is not allowed","description":"Declaring a function within a \"do-while\" loop that is within a function declaration itself","id":"S12.6.1_A13_T3","path":"12_Statement\\12.6_Iteration_Statements\\12.6.1_The_do_while_Statement\\S12.6.1_A13_T3.js","negative":"."}; GlobalScopeTests["S12.6.1_A15"]={"assertion":"Block within a \"do-while\" Expression is not allowed","description":"Using \"{0}\" Block as an Expression","id":"S12.6.1_A15","path":"12_Statement\\12.6_Iteration_Statements\\12.6.1_The_do_while_Statement\\S12.6.1_A15.js","negative":"."}; GlobalScopeTests["S12.6.1_A6_T1"]={"assertion":"Expression in \"do-while\" IterationStatement is bracketed with braces","description":"Checking if execution of \"do{} while 1\" fails","id":"S12.6.1_A6_T1","path":"12_Statement\\12.6_Iteration_Statements\\12.6.1_The_do_while_Statement\\S12.6.1_A6_T1.js","negative":"."}; @@ -342,4 +347,20 @@ GlobalScopeTests["S15.2.4.5_A13"]={"assertion":"Let O be the result of calling T GlobalScopeTests["S15.2.4.6_A12"]={"assertion":"Let O be the result of calling ToObject passing the this value as the argument.","description":"","id":"S15.2.4.6_A12","path":"15_Native\\15.2_Object_Objects\\15.2.4_Properties_of_the_Object_Prototype_Object\\15.2.4.6_Object.prototype.isPrototypeOf\\S15.2.4.6_A12.js","negative":"."}; GlobalScopeTests["S15.2.4.6_A13"]={"assertion":"Let O be the result of calling ToObject passing the this value as the argument.","description":"","id":"S15.2.4.6_A13","path":"15_Native\\15.2_Object_Objects\\15.2.4_Properties_of_the_Object_Prototype_Object\\15.2.4.6_Object.prototype.isPrototypeOf\\S15.2.4.6_A13.js","negative":"."}; GlobalScopeTests["S15.2.4.7_A12"]={"assertion":"Let O be the result of calling ToObject passing the this value as the argument.","description":"","id":"S15.2.4.7_A12","path":"15_Native\\15.2_Object_Objects\\15.2.4_Properties_of_the_Object_Prototype_Object\\15.2.4.7_Object.prototype.propertyIsEnumerable\\S15.2.4.7_A12.js","negative":"."}; -GlobalScopeTests["S15.2.4.7_A13"]={"assertion":"Let O be the result of calling ToObject passing the this value as the argument.","description":"","id":"S15.2.4.7_A13","path":"15_Native\\15.2_Object_Objects\\15.2.4_Properties_of_the_Object_Prototype_Object\\15.2.4.7_Object.prototype.propertyIsEnumerable\\S15.2.4.7_A13.js","negative":"."}; \ No newline at end of file +GlobalScopeTests["S15.2.4.7_A13"]={"assertion":"Let O be the result of calling ToObject passing the this value as the argument.","description":"","id":"S15.2.4.7_A13","path":"15_Native\\15.2_Object_Objects\\15.2.4_Properties_of_the_Object_Prototype_Object\\15.2.4.7_Object.prototype.propertyIsEnumerable\\S15.2.4.7_A13.js","negative":"."}; +GlobalScopeTests["S15.3.4.2_A12"]={"assertion":"The Function.prototype.toString function is not generic; it throws a TypeError exception if its this value is not a Function object.","description":"","id":"S15.3.4.2_A12","path":"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_A12.js","negative":"."}; +GlobalScopeTests["S15.3.4.2_A13"]={"assertion":"The toString function is not generic; it throws a TypeError exception if its this value is not a Function object.","description":"","id":"S15.3.4.2_A13","path":"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_A13.js","negative":"."}; +GlobalScopeTests["S15.3.4.2_A14"]={"assertion":"The toString function is not generic; it throws a TypeError exception if its this value is not a Function object.","description":"","id":"S15.3.4.2_A14","path":"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_A14.js","negative":"."}; +GlobalScopeTests["S15.3.4.2_A15"]={"assertion":"The toString function is not generic; it throws a TypeError exception if its this value is not a Function object.","description":"Whether or not they are callable, RegExp objects are not Function objects, so toString should throw a TypeError.","id":"S15.3.4.2_A15","path":"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_A15.js","negative":"."}; +GlobalScopeTests["S15.3.4.2_A16"]={"assertion":"The toString function is not generic; it throws a TypeError exception if its this value is not a Function object.","description":"The String constructor, given an object, should invoke that object's toString method as a method, i.e., with its this value bound to that object.","id":"S15.3.4.2_A16","path":"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_A16.js","negative":"."}; +GlobalScopeTests["S15.3.4.3_A13"]={"assertion":"If IsCallable(func) is false, then throw a TypeError exception.","description":"","id":"S15.3.4.3_A13","path":"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_A13.js","negative":"."}; +GlobalScopeTests["S15.3.4.3_A14"]={"assertion":"If IsCallable(func) is false, then throw a TypeError exception.","description":"","id":"S15.3.4.3_A14","path":"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_A14.js","negative":"."}; +GlobalScopeTests["S15.3.4.3_A15"]={"assertion":"If IsCallable(func) is false, then throw a TypeError exception.","description":"","id":"S15.3.4.3_A15","path":"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_A15.js","negative":"."}; +GlobalScopeTests["S15.3.4.4_A13"]={"assertion":"If IsCallable(func) is false, then throw a TypeError exception.","description":"","id":"S15.3.4.4_A13","path":"15_Native\\15.3_Function_Objects\\15.3.4_Properties_of_the_Function_Prototype_Object\\15.3.4.4_Function.prototype.call\\S15.3.4.4_A13.js","negative":"."}; +GlobalScopeTests["S15.3.4.4_A14"]={"assertion":"If IsCallable(func) is false, then throw a TypeError exception.","description":"","id":"S15.3.4.4_A14","path":"15_Native\\15.3_Function_Objects\\15.3.4_Properties_of_the_Function_Prototype_Object\\15.3.4.4_Function.prototype.call\\S15.3.4.4_A14.js","negative":"."}; +GlobalScopeTests["S15.3.4.4_A15"]={"assertion":"If IsCallable(func) is false, then throw a TypeError exception.","description":"","id":"S15.3.4.4_A15","path":"15_Native\\15.3_Function_Objects\\15.3.4_Properties_of_the_Function_Prototype_Object\\15.3.4.4_Function.prototype.call\\S15.3.4.4_A15.js","negative":"."}; +GlobalScopeTests["S15.3.4.5_A1"]={"assertion":"\"caller\" of bound function is poisoned (step 20)","description":"","id":"S15.3.4.5_A1","path":"15_Native\\15.3_Function_Objects\\15.3.4_Properties_of_the_Function_Prototype_Object\\15.3.4.5_Function.prototype.bind\\S15.3.4.5_A1.js","negative":"."}; +GlobalScopeTests["S15.3.4.5_A13"]={"assertion":"If IsCallable(func) is false, then throw a TypeError exception.","description":"","id":"S15.3.4.5_A13","path":"15_Native\\15.3_Function_Objects\\15.3.4_Properties_of_the_Function_Prototype_Object\\15.3.4.5_Function.prototype.bind\\S15.3.4.5_A13.js","negative":"."}; +GlobalScopeTests["S15.3.4.5_A14"]={"assertion":"If IsCallable(func) is false, then throw a TypeError exception.","description":"","id":"S15.3.4.5_A14","path":"15_Native\\15.3_Function_Objects\\15.3.4_Properties_of_the_Function_Prototype_Object\\15.3.4.5_Function.prototype.bind\\S15.3.4.5_A14.js","negative":"."}; +GlobalScopeTests["S15.3.4.5_A15"]={"assertion":"If IsCallable(func) is false, then throw a TypeError exception.","description":"","id":"S15.3.4.5_A15","path":"15_Native\\15.3_Function_Objects\\15.3.4_Properties_of_the_Function_Prototype_Object\\15.3.4.5_Function.prototype.bind\\S15.3.4.5_A15.js","negative":"."}; +GlobalScopeTests["S15.3.4.5_A2"]={"assertion":"\"arguments\" of bound function is poisoned (step 21)","description":"","id":"S15.3.4.5_A2","path":"15_Native\\15.3_Function_Objects\\15.3.4_Properties_of_the_Function_Prototype_Object\\15.3.4.5_Function.prototype.bind\\S15.3.4.5_A2.js","negative":"."}; \ No newline at end of file diff --git a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1.js b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1.js index c421003be5..1f38e5ca39 100644 --- a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1.js +++ b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1.js @@ -6,7 +6,7 @@ * @section: 7.3; * @assertion: LINE FEED (U+000A) within strings is not allowed; * @description: Insert LINE FEED (\u000A) into string; - * @negative + * @negative */ // CHECK#1 diff --git a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1.js b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1.js index fb3f30b6d8..a4187d5726 100644 --- a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1.js +++ b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1.js @@ -6,7 +6,7 @@ * @section: 7.3; * @assertion: CARRIAGE RETURN (U+000D) within strings is not allowed; * @description: Insert CARRIAGE RETURN (\u000D) into string; - * @negative + * @negative */ // CHECK#1 diff --git a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3.js b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3.js index 241d0d8d84..7fd3d62353 100644 --- a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3.js +++ b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3.js @@ -6,7 +6,7 @@ * @section: 7.4; * @assertion: Multi line comments cannot nest; * @description: Try use nested comments; - * @negative + * @negative */ /*CHECK#1*/ diff --git a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1.js b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1.js index 3aaf444b01..364279205a 100644 --- a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1.js +++ b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1.js @@ -6,7 +6,7 @@ * @section: 7.4; * @assertion: Single and Multi line comments are used together; * @description: Try use 2 close comment tags; - * @negative + * @negative */ /*CHECK#1*/ diff --git a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4.js b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4.js index bd1c44a2e3..cdc5b021c6 100644 --- a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4.js +++ b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4.js @@ -6,7 +6,7 @@ * @section: 7.4; * @assertion: Single and Multi line comments are used together; * @description: Try to open Multi line comment at the end of Single comment; - * @negative + * @negative */ /*CHECK#1*/ diff --git a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3.js b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3.js index d316692c67..eb18db1a79 100644 --- a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3.js +++ b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3.js @@ -6,7 +6,7 @@ * @section: 7.8.5; * @assertion: RegularExpressionFirstChar :: * or \ or / or [empty] is incorrect; * @description: /; - * @negative + * @negative */ //CHECK#1 diff --git a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1.js b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1.js index faae34b891..3dd5c4d68c 100644 --- a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1.js +++ b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1.js @@ -6,7 +6,7 @@ * @section: 7.8.5; * @assertion: RegularExpressionFirstChar :: LineTerminator is incorrect; * @description: Line Feed, without eval; - * @negative + * @negative */ //CHECK#1 diff --git a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3.js b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3.js index 689ca74075..7d92ccbc93 100644 --- a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3.js +++ b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3.js @@ -6,7 +6,7 @@ * @section: 7.8.5; * @assertion: RegularExpressionFirstChar :: LineTerminator is incorrect; * @description: Carriage Return, without eval; - * @negative + * @negative */ //CHECK#1 diff --git a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1.js b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1.js index 6925b3f49e..96cdf692a3 100644 --- a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1.js +++ b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1.js @@ -6,7 +6,7 @@ * @section: 7.8.5; * @assertion: RegularExpressionFirstChar :: BackslashSequence :: \LineTerminator is incorrect; * @description: Line Feed, without eval; - * @negative + * @negative */ //CHECK#1 diff --git a/test/suite/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A1.js b/test/suite/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A1.js index b45d89eeb3..a6e6158888 100644 --- a/test/suite/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A1.js +++ b/test/suite/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A1.js @@ -6,7 +6,8 @@ * @section: 12.1; * @assertion: The production Block { } in strict code can't contain function declaration; * @description: Trying to declare function at the Block statement; -* @negative SyntaxError; +* @negative +* @errortype: SyntaxError; */ "use strict"; diff --git a/test/suite/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.js b/test/suite/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.js index ac4828524c..a62c542fcd 100644 --- a/test/suite/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.js +++ b/test/suite/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.js @@ -6,7 +6,8 @@ * @section: 12.5; * @assertion: Function declaration within an "if" statement in strict code is not allowed; * @description: Declaring function within an "if" statement; -* @negative SyntaxError; +* @negative +* @errortype: SyntaxError; */ "use strict"; diff --git a/test/suite/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.js b/test/suite/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.js index e35571d9d4..87f8f70575 100644 --- a/test/suite/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.js +++ b/test/suite/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.js @@ -6,7 +6,8 @@ * @section: 12.5; * @assertion: Function declaration within an "if" statement in strict code is not allowed; * @description: Declaring function within an "if" that is declared within the strict function; -* @negative SyntaxError; +* @negative +* @errortype: SyntaxError; */ (function(){ diff --git a/test/suite/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.js b/test/suite/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.js index cb6740bdfc..6b12b6dba4 100644 --- a/test/suite/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.js +++ b/test/suite/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.js @@ -6,7 +6,8 @@ * @section: 12.6.1, 13; * @assertion: FunctionDeclaration within a "do-while" Block in strict code is not allowed; * @description: Declaring function within a "do-while" loop; -* @negative SyntaxError; +* @negative +* @errortype: SyntaxError; */ "use strict"; diff --git a/test/suite/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.js b/test/suite/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.js index cdfd7df1c6..a85d0ca145 100644 --- a/test/suite/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.js +++ b/test/suite/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.js @@ -6,7 +6,8 @@ * @section: 12.6.1, 13; * @assertion: FunctionDeclaration within a "do-while" Block in strict code is not allowed; * @description: Declaring a function within a "do-while" loop that is within a strict function; -* @negative SyntaxError; +* @negative +* @errortype: SyntaxError; */ (function(){ 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_A12.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_A12.js index 3b5c2886e8..1b1588181e 100644 --- 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_A12.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_A12.js @@ -5,7 +5,8 @@ * @name: S15.3.4.2_A12; * @section: 15.3.4.2; * @assertion: The Function.prototype.toString function is not generic; it throws a TypeError exception if its this value is not a Function object. -* @negative TypeError; +* @negative +* @errortype: TypeError; */ Function.prototype.toString.call(undefined); 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_A13.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_A13.js index 01493ba657..1996bfbb90 100644 --- 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_A13.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_A13.js @@ -5,7 +5,8 @@ * @name: S15.3.4.2_A13; * @section: 15.3.4.2; * @assertion: The toString function is not generic; it throws a TypeError exception if its this value is not a Function object. -* @negative TypeError; +* @negative +* @errortype: TypeError; */ Function.prototype.toString.call(null); 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_A14.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_A14.js index 144b848dd5..8ad2532374 100644 --- 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_A14.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_A14.js @@ -5,7 +5,8 @@ * @name: S15.3.4.2_A14; * @section: 15.3.4.2; * @assertion: The toString function is not generic; it throws a TypeError exception if its this value is not a Function object. -* @negative TypeError; +* @negative +* @errortype: TypeError; */ Function.prototype.toString.call({}); 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_A15.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_A15.js index 1d01abb063..cb41920d59 100644 --- 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_A15.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_A15.js @@ -6,7 +6,8 @@ * @section: 15.3.4.2; * @assertion: The toString function is not generic; it throws a TypeError exception if its this value is not a Function object. * @description: Whether or not they are callable, RegExp objects are not Function objects, so toString should throw a TypeError. -* @negative TypeError; +* @negative +* @errortype: TypeError; */ Function.prototype.toString.call(/x/); 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_A16.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_A16.js index fb670b8610..b5d5da7b4a 100644 --- 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_A16.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_A16.js @@ -6,7 +6,8 @@ * @section: 15.3.4.2; * @assertion: The toString function is not generic; it throws a TypeError exception if its this value is not a Function object. * @description: The String constructor, given an object, should invoke that object's toString method as a method, i.e., with its this value bound to that object. -* @negative TypeError; +* @negative +* @errortype: TypeError; */ var obj = {toString: Function.prototype.toString}; 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_A13.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_A13.js index 01196f9a0c..39b3416f5c 100644 --- 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_A13.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_A13.js @@ -5,7 +5,8 @@ * @name: S15.3.4.3_A13; * @section: 15.3.4.3; * @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @negative TypeError; +* @negative +* @errortype: TypeError; */ Function.prototype.apply.call(undefined, {}, []); 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_A14.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_A14.js index c756e4c41b..98cf63446b 100644 --- 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_A14.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_A14.js @@ -5,7 +5,8 @@ * @name: S15.3.4.3_A14; * @section: 15.3.4.3; * @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @negative TypeError; +* @negative +* @errortype: TypeError; */ Function.prototype.apply.call(null, {}, []); 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_A15.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_A15.js index 339d446898..4099530edb 100644 --- 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_A15.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_A15.js @@ -5,7 +5,8 @@ * @name: S15.3.4.3_A15; * @section: 15.3.4.3; * @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @negative TypeError; +* @negative +* @errortype: TypeError; */ Function.prototype.apply.call({}, {}, []); 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.4_Function.prototype.call/S15.3.4.4_A13.js b/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A13.js index 6dcf1f9607..53b9d721d3 100644 --- a/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A13.js +++ b/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A13.js @@ -5,7 +5,8 @@ * @name: S15.3.4.4_A13; * @section: 15.3.4.4; * @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @negative TypeError; +* @negative +* @errortype: TypeError; */ Function.prototype.call.call(undefined, {}); 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.4_Function.prototype.call/S15.3.4.4_A14.js b/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A14.js index 88a8ae002d..92a1a7cce2 100644 --- a/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A14.js +++ b/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A14.js @@ -5,7 +5,8 @@ * @name: S15.3.4.4_A14; * @section: 15.3.4.4; * @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @negative TypeError; +* @negative +* @errortype: TypeError; */ Function.prototype.call.call(null, {}); 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.4_Function.prototype.call/S15.3.4.4_A15.js b/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A15.js index d337793eb4..95b45a0f9b 100644 --- a/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A15.js +++ b/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A15.js @@ -5,7 +5,8 @@ * @name: S15.3.4.4_A15; * @section: 15.3.4.4; * @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @negative TypeError; +* @negative +* @errortype: TypeError; */ Function.prototype.call.call({}, {}); 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.5_Function.prototype.bind/S15.3.4.5_A1.js b/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A1.js index c58334ba2a..a92c931b30 100644 --- a/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A1.js +++ b/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A1.js @@ -6,7 +6,8 @@ * @section: 15.3.4.5; * @assertion: "caller" of bound function is poisoned (step 20); * @description A bound function should fail to find its "caller"; -* @negative TypeError; +* @negative +* @errortype: TypeError; */ function foo() { return bar.caller; } 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.5_Function.prototype.bind/S15.3.4.5_A13.js b/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A13.js index 9b677d8cd8..45434c8c29 100644 --- a/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A13.js +++ b/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A13.js @@ -5,7 +5,8 @@ * @name: S15.3.4.5_A13; * @section: 15.3.4.5; * @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @negative TypeError; +* @negative +* @errortype: TypeError; */ Function.prototype.bind.call(undefined, {}); 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.5_Function.prototype.bind/S15.3.4.5_A14.js b/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A14.js index f3b209f24b..836fc56dea 100644 --- a/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A14.js +++ b/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A14.js @@ -5,7 +5,8 @@ * @name: S15.3.4.5_A14; * @section: 15.3.4.5; * @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @negative TypeError; +* @negative +* @errortype: TypeError; */ Function.prototype.bind.call(null, {}); 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.5_Function.prototype.bind/S15.3.4.5_A15.js b/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A15.js index 281983a643..645f282cff 100644 --- a/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A15.js +++ b/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A15.js @@ -5,7 +5,8 @@ * @name: S15.3.4.5_A15; * @section: 15.3.4.5; * @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @negative TypeError; +* @negative +* @errortype: TypeError; */ Function.prototype.bind.call({}, {}); 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.5_Function.prototype.bind/S15.3.4.5_A2.js b/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js index 4a87c1dcbb..bc861b6361 100644 --- a/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js +++ b/test/suite/sputnik/Conformance/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js @@ -6,7 +6,8 @@ * @section: 15.3.4.5; * @assertion: "arguments" of bound function is poisoned (step 21); * @description a bound function should fail to find the bound function "arguments"; -* @negative TypeError; +* @negative +* @errortype: TypeError; */ function foo() { return bar.arguments; } diff --git a/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A1.js b/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A1.js index 336bc27dee..e63406d77c 100644 --- a/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A1.js +++ b/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A1.js @@ -1,34 +1,14 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.1_A1; -* @section: 12.1; -* @assertion: The production Block { } in strict code can't contain function declaration; -* @description: Trying to declare function at the Block statement; -* @negative SyntaxError; -*/ - +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S12.1_A1", - -path: "TestCases/12_Statement/12.1_Block/S12.1_A1.js", - -assertion: "The production Block { } in strict code can\'t contain function declaration", - -description: "Trying to declare function at the Block statement", - -test: function testcase() { - "use strict"; -if (!strict_mode) { throw new SyntaxError('unspecified case'); } - -{ - function __func(){} -} - - } -}); + "use strict"; +if (!strict_mode) { throw new SyntaxError('unspecified case'); } + +{ + function __func(){} +} + diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A7.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A7.js index 34b1870209..6b8c9c73e2 100644 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A7.js +++ b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A7.js @@ -1,14 +1,14 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.5_A7; -* @section: 12.5; -* @assertion: In the "if" statement empty statement is allowed and is evaluated to "undefined"; -* @description: Checking by using eval "eval("if(1);"))"; -*/ - - +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S12.5_A7; +* @section: 12.5; +* @assertion: In the "if" statement empty statement is allowed and is evaluated to "undefined"; +* @description: Checking by using eval "eval("if(1);"))"; +*/ + + // Converted for Test262 from original Sputnik source @@ -22,20 +22,20 @@ assertion: "In the \"if\" statement empty statement is allowed and is evaluated description: "Checking by using eval \"eval(\"if(1);\"))\"", test: function testcase() { - ////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -try { - var __evaluated = eval("if(1);"); - if (__evaluated !== undefined) { - $ERROR('#1: __evaluated === undefined. Actual: __evaluated ==='+ __evaluated ); - } - -} catch (e) { - $ERROR('#1.1: "__evaluated = eval("if(1);")" does not lead to throwing exception'); - -} -// -////////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////////// +//CHECK#1 +try { + var __evaluated = eval("if(1);"); + if (__evaluated !== undefined) { + $ERROR('#1: __evaluated === undefined. Actual: __evaluated ==='+ __evaluated ); + } + +} catch (e) { + $ERROR('#1.1: "__evaluated = eval("if(1);")" does not lead to throwing exception'); + +} +// +////////////////////////////////////////////////////////////////////////////// } }); diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.js index cb6b818cff..eb6fc2a6c9 100644 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.js +++ b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.js @@ -1,36 +1,16 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.5_A9_T1; -* @section: 12.5; -* @assertion: Function declaration within an "if" statement in strict code is not allowed; -* @description: Declaring function within an "if" statement; -* @negative SyntaxError; -*/ - +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S12.5_A9_T1", - -path: "TestCases/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.js", - -assertion: "Function declaration within an \"if\" statement in strict code is not allowed", - -description: "Declaring function within an \"if\" statement", - -test: function testcase() { - "use strict"; -if (!strict_mode) { throw new SyntaxError('unspecified case'); } - -if (true) { - function __func(){}; -} else { - function __func(){}; -} - - } -}); + "use strict"; +if (!strict_mode) { throw new SyntaxError('unspecified case'); } + +if (true) { + function __func(){}; +} else { + function __func(){}; +} + diff --git a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.js b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.js index 961f7fe4d2..5722d2bd9d 100644 --- a/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.js +++ b/test/suite/sputnik_converted/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.js @@ -1,38 +1,18 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.5_A9_T2; -* @section: 12.5; -* @assertion: Function declaration within an "if" statement in strict code is not allowed; -* @description: Declaring function within an "if" that is declared within the strict function; -* @negative SyntaxError; -*/ - +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S12.5_A9_T2", - -path: "TestCases/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.js", - -assertion: "Function declaration within an \"if\" statement in strict code is not allowed", - -description: "Declaring function within an \"if\" that is declared within the strict function", - -test: function testcase() { - (function(){ -"use strict"; - -if (true) { - function __func(){}; -} else { - function __func(){}; -} - -}); - - } -}); + (function(){ +"use strict"; + +if (true) { + function __func(){}; +} else { + function __func(){}; +} + +}); + diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1.js index b429ca0789..266561c287 100644 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1.js +++ b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1.js @@ -1,13 +1,13 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.1_A1; -* @section: 12.6.1; -* @assertion: When the production "do Statement while ( Expression )" is evaluated, Statement is evaluated first; -* @description: Evaluating various Expressions; -*/ - +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S12.6.1_A1; +* @section: 12.6.1; +* @assertion: When the production "do Statement while ( Expression )" is evaluated, Statement is evaluated first; +* @description: Evaluating various Expressions; +*/ + // Converted for Test262 from original Sputnik source @@ -21,37 +21,37 @@ assertion: "When the production \"do Statement while ( Expression )\" is evaluat description: "Evaluating various Expressions", test: function testcase() { - var __in__do; - -do __in__do=1; while ( false ); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__in__do!==1) { - $ERROR('#1: false evaluates to false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -do __in__do=2; while ( 0 ); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#2 -if (__in__do!==2) { - $ERROR('#2: 0 evaluates to false'); -} -// -////////////////////////////////////////////////////////////////////////////// - -do __in__do=3; while ( "" ); - -////////////////////////////////////////////////////////////////////////////// -//CHECK#3 -if (__in__do!==3) { - $ERROR('#3: "" evaluates to false'); -} -// -////////////////////////////////////////////////////////////////////////////// + var __in__do; + +do __in__do=1; while ( false ); + +////////////////////////////////////////////////////////////////////////////// +//CHECK#1 +if (__in__do!==1) { + $ERROR('#1: false evaluates to false'); +} +// +////////////////////////////////////////////////////////////////////////////// + +do __in__do=2; while ( 0 ); + +////////////////////////////////////////////////////////////////////////////// +//CHECK#2 +if (__in__do!==2) { + $ERROR('#2: 0 evaluates to false'); +} +// +////////////////////////////////////////////////////////////////////////////// + +do __in__do=3; while ( "" ); + +////////////////////////////////////////////////////////////////////////////// +//CHECK#3 +if (__in__do!==3) { + $ERROR('#3: "" evaluates to false'); +} +// +////////////////////////////////////////////////////////////////////////////// } }); diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.js index 8b2eefbf36..ae60d2f748 100644 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.js +++ b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.js @@ -1,34 +1,14 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.1_A13_T1; -* @section: 12.6.1, 13; -* @assertion: FunctionDeclaration within a "do-while" Block in strict code is not allowed; -* @description: Declaring function within a "do-while" loop; -* @negative SyntaxError; -*/ - +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S12.6.1_A13_T1", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.js", - -assertion: "FunctionDeclaration within a \"do-while\" Block in strict code is not allowed", - -description: "Declaring function within a \"do-while\" loop", - -test: function testcase() { - "use strict"; -if (!strict_mode) { throw new SyntaxError('unspecified case'); } - -do{ - function __func(){}; -} while(0); - - } -}); + "use strict"; +if (!strict_mode) { throw new SyntaxError('unspecified case'); } + +do{ + function __func(){}; +} while(0); + diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.js index 378e291cc4..09111a2d2e 100644 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.js +++ b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.js @@ -1,35 +1,15 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S12.6.1_A13_T2; -* @section: 12.6.1, 13; -* @assertion: FunctionDeclaration within a "do-while" Block in strict code is not allowed; -* @description: Declaring a function within a "do-while" loop that is within a strict function; -* @negative SyntaxError; -*/ - +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S12.6.1_A13_T2", - -path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.js", - -assertion: "FunctionDeclaration within a \"do-while\" Block in strict code is not allowed", - -description: "Declaring a function within a \"do-while\" loop that is within a strict function", - -test: function testcase() { - (function(){ -"use strict"; -do{ - function __func(){}; -}while(0); - -}); - - } -}); + (function(){ +"use strict"; +do{ + function __func(){}; +}while(0); + +}); + diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T2.js index 85914fe49a..183a6b9cca 100644 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T2.js +++ b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A4_T2.js @@ -5,7 +5,7 @@ * @name: S15.10.2.7_A4_T2; * @section: 15.10.2.7; * @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty; -* @description: Execute /[^"S15.10.2.7_A4_T2"don\'t"') and check results; +* @description: Execute /[^"]* /.exec('alice said: "don\'t"') and check results; */ diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A12.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A12.js index 2b048803b9..3bbf860655 100644 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A12.js +++ b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A12.js @@ -1,13 +1,13 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A12; -* @section: 15.10.6.2; -* @assertion: regExp exec() acts like regExp.exec('undefined') (step 2); -* @description: Checking RegExp.prototype.exec.length; -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S15.10.6.2_A12; +* @section: 15.10.6.2; +* @assertion: regExp exec() acts like regExp.exec('undefined') (step 2); +* @description: Checking RegExp.prototype.exec.length; +*/ + // Converted for Test262 from original Sputnik source @@ -21,14 +21,14 @@ assertion: "regExp exec() acts like regExp.exec(\'undefined\') (step 2)", description: "Checking RegExp.prototype.exec.length", test: function testcase() { - (/foo/).test('xfoox'); -var match = new RegExp('(.|\r|\n)*','').exec()[0]; -if (match === 'xfoox') { - $FAIL('#1: regExp.exec() leaks match globally'); -} -if (match !== 'undefined') { - $FAIL('#2: regExp.exec() must coerce absent first arg to "undefined"'); -} + (/foo/).test('xfoox'); +var match = new RegExp('(.|\r|\n)*','').exec()[0]; +if (match === 'xfoox') { + $FAIL('#1: regExp.exec() leaks match globally'); +} +if (match !== 'undefined') { + $FAIL('#2: regExp.exec() must coerce absent first arg to "undefined"'); +} } }); diff --git a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T1.js index 6647f5c59d..1d3eacf760 100644 --- a/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T1.js +++ b/test/suite/sputnik_converted/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T1.js @@ -1,14 +1,14 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.10.6.2_A1_T1; -* @section: 15.10.6.2; -* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and -* returns an Array object containing the results of the match, or null if the string did not match; -* @description: String is "123" and RegExp is /1|12/; -*/ - +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S15.10.6.2_A1_T1; +* @section: 15.10.6.2; +* @assertion: RegExp.prototype.exec(string) Performs a regular expression match of ToString(string) against the regular expression and +* returns an Array object containing the results of the match, or null if the string did not match; +* @description: String is "123" and RegExp is /1|12/; +*/ + // Converted for Test262 from original Sputnik source @@ -22,38 +22,38 @@ assertion: "RegExp.prototype.exec(string) Performs a regular expression match of description: "String is \"123\" and RegExp is /1|12/", test: function testcase() { - __executed = /1|12/.exec("123"); - -__expected = ["1"]; -__expected.index=0; -__expected.input="123"; - //CHECK#0 -if ((__executed instanceof Array) !== true) { - $ERROR('#0: __executed = /1|12/.exec("123"); (__executed instanceof Array) === true'); -} - -//CHECK#1 -if (__executed.length !== __expected.length) { - $ERROR('#1: __executed = /1|12/.exec("123"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); -} - -//CHECK#2 -if (__executed.index !== __expected.index) { - $ERROR('#2: __executed = /1|12/.exec("123"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); -} - -//CHECK#3 -if (__executed.input !== __expected.input) { - $ERROR('#3: __executed = /1|12/.exec("123"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); -} - -//CHECK#4 -for(var index=0; index<__expected.length; index++) { - if (__executed[index] !== __expected[index]) { - $ERROR('#4: __executed = /1|12/.exec("123"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); - } -} - + __executed = /1|12/.exec("123"); + +__expected = ["1"]; +__expected.index=0; +__expected.input="123"; + //CHECK#0 +if ((__executed instanceof Array) !== true) { + $ERROR('#0: __executed = /1|12/.exec("123"); (__executed instanceof Array) === true'); +} + +//CHECK#1 +if (__executed.length !== __expected.length) { + $ERROR('#1: __executed = /1|12/.exec("123"); __executed.length === ' + __expected.length + '. Actual: ' + __executed.length); +} + +//CHECK#2 +if (__executed.index !== __expected.index) { + $ERROR('#2: __executed = /1|12/.exec("123"); __executed.index === ' + __expected.index + '. Actual: ' + __executed.index); +} + +//CHECK#3 +if (__executed.input !== __expected.input) { + $ERROR('#3: __executed = /1|12/.exec("123"); __executed.input === ' + __expected.input + '. Actual: ' + __executed.input); +} + +//CHECK#4 +for(var index=0; index<__expected.length; index++) { + if (__executed[index] !== __expected[index]) { + $ERROR('#4: __executed = /1|12/.exec("123"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); + } +} + } }); diff --git a/test/suite/sputnik_converted/15_Native/15.12_The_JSON_Object/15.12.2_JSON.parse/S15.12.2_A1.js b/test/suite/sputnik_converted/15_Native/15.12_The_JSON_Object/15.12.2_JSON.parse/S15.12.2_A1.js index 493c221226..286a190dac 100644 --- a/test/suite/sputnik_converted/15_Native/15.12_The_JSON_Object/15.12.2_JSON.parse/S15.12.2_A1.js +++ b/test/suite/sputnik_converted/15_Native/15.12_The_JSON_Object/15.12.2_JSON.parse/S15.12.2_A1.js @@ -1,13 +1,13 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.12.2_A1; - * @section: 15.12.2; - * @assertion: JSON.parse must create a property with the given property name; - * @description: Tests that JSON.parse treats "__proto__" as a regular property name; - */ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** + * @name: S15.12.2_A1; + * @section: 15.12.2; + * @assertion: JSON.parse must create a property with the given property name; + * @description: Tests that JSON.parse treats "__proto__" as a regular property name; + */ + // Converted for Test262 from original Sputnik source @@ -21,13 +21,13 @@ assertion: "JSON.parse must create a property with the given property name", description: "Tests that JSON.parse treats \"__proto__\" as a regular property name", test: function testcase() { - var x = JSON.parse('{"__proto__":[]}'); -if (Object.getPrototypeOf(x) !== Object.prototype) { - $FAIL('#1: JSON.parse confused by "__proto__"'); -} -if (!Array.isArray(x.__proto__)) { - $FAIL('#2: JSON.parse did not set "__proto__" as a regular property'); -} + var x = JSON.parse('{"__proto__":[]}'); +if (Object.getPrototypeOf(x) !== Object.prototype) { + $FAIL('#1: JSON.parse confused by "__proto__"'); +} +if (!Array.isArray(x.__proto__)) { + $FAIL('#2: JSON.parse did not set "__proto__" as a regular property'); +} } }); diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A12.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A12.js index a1c9b486a4..5a1198b176 100644 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A12.js +++ b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A12.js @@ -1,12 +1,12 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.2_A12; -* @section: 15.2.4.2; -* @assertion: If the this value is undefined, return "[object Undefined]". -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S15.2.4.2_A12; +* @section: 15.2.4.2; +* @assertion: If the this value is undefined, return "[object Undefined]". +*/ + // Converted for Test262 from original Sputnik source @@ -20,9 +20,9 @@ assertion: "If the this value is undefined, return \"[object Undefined]\".", description: "", test: function testcase() { - if (Object.prototype.toString.call(undefined) !== "[object Undefined]") { - $ERROR('If the this value is undefined, return "[object Undefined]".'); -} + if (Object.prototype.toString.call(undefined) !== "[object Undefined]") { + $ERROR('If the this value is undefined, return "[object Undefined]".'); +} } }); diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A13.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A13.js index 54fd431228..6f514dd067 100644 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A13.js +++ b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A13.js @@ -1,12 +1,12 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.2_A13; -* @section: 15.2.4.2; -* @assertion: If the this value is null, return "[object Null]". -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S15.2.4.2_A13; +* @section: 15.2.4.2; +* @assertion: If the this value is null, return "[object Null]". +*/ + // Converted for Test262 from original Sputnik source @@ -20,9 +20,9 @@ assertion: "If the this value is null, return \"[object Null]\".", description: "", test: function testcase() { - if (Object.prototype.toString.call(null) !== "[object Null]") { - $ERROR('If the this value is null, return "[object Null]".'); -} + if (Object.prototype.toString.call(null) !== "[object Null]") { + $ERROR('If the this value is null, return "[object Null]".'); +} } }); diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A14.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A14.js index 3738abe4d2..d982740f52 100644 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A14.js +++ b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A14.js @@ -1,12 +1,12 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.2_A14; -* @section: 15.2.4.2; -* @assertion: Let O be the result of calling ToObject passing the this value as the argument. -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S15.2.4.2_A14; +* @section: 15.2.4.2; +* @assertion: Let O be the result of calling ToObject passing the this value as the argument. +*/ + // Converted for Test262 from original Sputnik source @@ -20,10 +20,10 @@ assertion: "Let O be the result of calling ToObject passing the this value as th description: "", test: function testcase() { - if (Object.prototype.toString.call(33) !== "[object Number]") { - $ERROR('Let O be the result of calling ToObject passing the this ' + - 'value as the argument.'); -} + if (Object.prototype.toString.call(33) !== "[object Number]") { + $ERROR('Let O be the result of calling ToObject passing the this ' + + 'value as the argument.'); +} } }); diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A15.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A15.js index f4eebbb366..366fdf3493 100644 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A15.js +++ b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A15.js @@ -1,12 +1,12 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.2_A15; -* @section: 15.2.4.2; -* @assertion: Let O be the result of calling ToObject passing the this value as the argument. -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S15.2.4.2_A15; +* @section: 15.2.4.2; +* @assertion: Let O be the result of calling ToObject passing the this value as the argument. +*/ + // Converted for Test262 from original Sputnik source @@ -20,10 +20,10 @@ assertion: "Let O be the result of calling ToObject passing the this value as th description: "", test: function testcase() { - if (Object.prototype.toString.call(true) !== "[object Boolean]") { - $ERROR('Let O be the result of calling ToObject passing the this ' + - 'value as the argument.'); -} + if (Object.prototype.toString.call(true) !== "[object Boolean]") { + $ERROR('Let O be the result of calling ToObject passing the this ' + + 'value as the argument.'); +} } }); diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A16.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A16.js index 5d7dc95a84..a64a130522 100644 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A16.js +++ b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A16.js @@ -1,12 +1,12 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.2.4.2_A16; -* @section: 15.2.4.2; -* @assertion: Let O be the result of calling ToObject passing the this value as the argument. -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S15.2.4.2_A16; +* @section: 15.2.4.2; +* @assertion: Let O be the result of calling ToObject passing the this value as the argument. +*/ + // Converted for Test262 from original Sputnik source @@ -20,10 +20,10 @@ assertion: "Let O be the result of calling ToObject passing the this value as th description: "", test: function testcase() { - if (Object.prototype.toString.call('foo') !== "[object String]") { - $ERROR('Let O be the result of calling ToObject passing the this ' + - 'value as the argument.'); -} + if (Object.prototype.toString.call('foo') !== "[object String]") { + $ERROR('Let O be the result of calling ToObject passing the this ' + + 'value as the argument.'); +} } }); diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A12.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A12.js index db1a7c9bd2..ce4fd31dc2 100644 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A12.js +++ b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A12.js @@ -1,9 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source - Object.prototype.toLocaleString.call(undefined); + Object.prototype.toLocaleString.call(undefined); diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A13.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A13.js index a3e3aab95c..f8650e76cd 100644 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A13.js +++ b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.3_Object.prototype.toLocaleString/S15.2.4.3_A13.js @@ -1,9 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source - Object.prototype.toLocaleString.call(null); + Object.prototype.toLocaleString.call(null); diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A12.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A12.js index 31b7e6f453..a3c0911cae 100644 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A12.js +++ b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A12.js @@ -1,9 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source - Object.prototype.valueOf.call(undefined); + Object.prototype.valueOf.call(undefined); diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A13.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A13.js index 3ebf3fe4c4..946a5971f8 100644 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A13.js +++ b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A13.js @@ -1,9 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source - Object.prototype.valueOf.call(null); + Object.prototype.valueOf.call(null); diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A14.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A14.js index be6ab1d8ed..f7196b14f3 100644 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A14.js +++ b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A14.js @@ -1,9 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source - (1,Object.prototype.valueOf)(); + (1,Object.prototype.valueOf)(); diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A12.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A12.js index 7dfc97eb2e..51149cf33d 100644 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A12.js +++ b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A12.js @@ -1,9 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source - Object.prototype.hasOwnProperty.call(undefined, 'foo'); + Object.prototype.hasOwnProperty.call(undefined, 'foo'); diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A13.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A13.js index b1af5b1c3a..5c3f33d108 100644 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A13.js +++ b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A13.js @@ -1,9 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source - Object.prototype.hasOwnProperty.call(null, 'foo'); + Object.prototype.hasOwnProperty.call(null, 'foo'); diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A12.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A12.js index fa01e6a7fd..d0f58eaa09 100644 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A12.js +++ b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A12.js @@ -1,9 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source - Object.prototype.isPrototypeOf.call(undefined, {}); + Object.prototype.isPrototypeOf.call(undefined, {}); diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A13.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A13.js index cd0d6e959d..4e52b20bbd 100644 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A13.js +++ b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.6_Object.prototype.isPrototypeOf/S15.2.4.6_A13.js @@ -1,9 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source - Object.prototype.isPrototypeOf.call(null, {}); + Object.prototype.isPrototypeOf.call(null, {}); diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A12.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A12.js index e12ebf9fae..73ddf947e7 100644 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A12.js +++ b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A12.js @@ -1,9 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source - Object.prototype.propertyIsEnumerable.call(undefined, 'foo'); + Object.prototype.propertyIsEnumerable.call(undefined, 'foo'); diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A13.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A13.js index 4d54b36b21..bb14dcbc99 100644 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A13.js +++ b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A13.js @@ -1,9 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source - Object.prototype.propertyIsEnumerable.call(null, 'foo'); + Object.prototype.propertyIsEnumerable.call(null, 'foo'); diff --git a/test/suite/sputnik_converted/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_A10.js b/test/suite/sputnik_converted/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_A10.js index f677337ee9..7fe965b7f8 100644 --- a/test/suite/sputnik_converted/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_A10.js +++ b/test/suite/sputnik_converted/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_A10.js @@ -1,13 +1,13 @@ -// 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_A10; -* @section: 15.3.4.2; -* @assertion: The Function.prototype.toString.length property has the attribute ReadOnly; -* @description: Checking if varying the Function.prototype.toString.length property fails; -*/ - +// 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_A10; +* @section: 15.3.4.2; +* @assertion: The Function.prototype.toString.length property has the attribute ReadOnly; +* @description: Checking if varying the Function.prototype.toString.length property fails; +*/ + // Converted for Test262 from original Sputnik source @@ -21,19 +21,19 @@ assertion: "The Function.prototype.toString.length property has the attribute Re description: "Checking if varying the Function.prototype.toString.length property fails", test: function testcase() { - //CHECK#1 -if (!(Function.prototype.toString.hasOwnProperty('length'))) { - $FAIL('#1: the Function.prototype.toString has length property.'); -} - -var obj = Function.prototype.toString.length; - -Function.prototype.toString.length = function(){return "shifted";}; - -//CHECK#2 -if (Function.prototype.toString.length !== obj) { - $ERROR('#2: the Function.prototype.toString length property has the attributes ReadOnly.'); -} + //CHECK#1 +if (!(Function.prototype.toString.hasOwnProperty('length'))) { + $FAIL('#1: the Function.prototype.toString has length property.'); +} + +var obj = Function.prototype.toString.length; + +Function.prototype.toString.length = function(){return "shifted";}; + +//CHECK#2 +if (Function.prototype.toString.length !== obj) { + $ERROR('#2: the Function.prototype.toString length property has the attributes ReadOnly.'); +} } }); diff --git a/test/suite/sputnik_converted/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_A12.js b/test/suite/sputnik_converted/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_A12.js index 14c2ae7c14..30dba13f2d 100644 --- a/test/suite/sputnik_converted/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_A12.js +++ b/test/suite/sputnik_converted/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_A12.js @@ -1,28 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.2_A12; -* @section: 15.3.4.2; -* @assertion: The Function.prototype.toString function is not generic; it throws a TypeError exception if its this value is not a Function object. -* @negative TypeError; -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S15.3.4.2_A12", - -path: "TestCases/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_A12.js", - -assertion: "The Function.prototype.toString function is not generic; it throws a TypeError exception if its this value is not a Function object.", - -description: "", - -test: function testcase() { - Function.prototype.toString.call(undefined); - - } -}); + Function.prototype.toString.call(undefined); + diff --git a/test/suite/sputnik_converted/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_A13.js b/test/suite/sputnik_converted/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_A13.js index 40f1c95ef8..d32cdf6293 100644 --- a/test/suite/sputnik_converted/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_A13.js +++ b/test/suite/sputnik_converted/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_A13.js @@ -1,28 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.2_A13; -* @section: 15.3.4.2; -* @assertion: The toString function is not generic; it throws a TypeError exception if its this value is not a Function object. -* @negative TypeError; -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S15.3.4.2_A13", - -path: "TestCases/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_A13.js", - -assertion: "The toString function is not generic; it throws a TypeError exception if its this value is not a Function object.", - -description: "", - -test: function testcase() { - Function.prototype.toString.call(null); - - } -}); + Function.prototype.toString.call(null); + diff --git a/test/suite/sputnik_converted/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_A14.js b/test/suite/sputnik_converted/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_A14.js index 07ece2da1c..762ce70274 100644 --- a/test/suite/sputnik_converted/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_A14.js +++ b/test/suite/sputnik_converted/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_A14.js @@ -1,28 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.2_A14; -* @section: 15.3.4.2; -* @assertion: The toString function is not generic; it throws a TypeError exception if its this value is not a Function object. -* @negative TypeError; -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S15.3.4.2_A14", - -path: "TestCases/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_A14.js", - -assertion: "The toString function is not generic; it throws a TypeError exception if its this value is not a Function object.", - -description: "", - -test: function testcase() { - Function.prototype.toString.call({}); - - } -}); + Function.prototype.toString.call({}); + diff --git a/test/suite/sputnik_converted/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_A15.js b/test/suite/sputnik_converted/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_A15.js index 8876d03500..48c1e6637b 100644 --- a/test/suite/sputnik_converted/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_A15.js +++ b/test/suite/sputnik_converted/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_A15.js @@ -1,29 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.2_A15; -* @section: 15.3.4.2; -* @assertion: The toString function is not generic; it throws a TypeError exception if its this value is not a Function object. -* @description: Whether or not they are callable, RegExp objects are not Function objects, so toString should throw a TypeError. -* @negative TypeError; -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S15.3.4.2_A15", - -path: "TestCases/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_A15.js", - -assertion: "The toString function is not generic; it throws a TypeError exception if its this value is not a Function object.", - -description: "Whether or not they are callable, RegExp objects are not Function objects, so toString should throw a TypeError.", - -test: function testcase() { - Function.prototype.toString.call(/x/); - - } -}); + Function.prototype.toString.call(/x/); + diff --git a/test/suite/sputnik_converted/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_A16.js b/test/suite/sputnik_converted/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_A16.js index f829fa285f..309cd4d329 100644 --- a/test/suite/sputnik_converted/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_A16.js +++ b/test/suite/sputnik_converted/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_A16.js @@ -1,31 +1,11 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.2_A16; -* @section: 15.3.4.2; -* @assertion: The toString function is not generic; it throws a TypeError exception if its this value is not a Function object. -* @description: The String constructor, given an object, should invoke that object's toString method as a method, i.e., with its this value bound to that object. -* @negative TypeError; -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S15.3.4.2_A16", - -path: "TestCases/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_A16.js", - -assertion: "The toString function is not generic; it throws a TypeError exception if its this value is not a Function object.", - -description: "The String constructor, given an object, should invoke that object\'s toString method as a method, i.e., with its this value bound to that object.", - -test: function testcase() { - var obj = {toString: Function.prototype.toString}; - -String(obj); - - } -}); + var obj = {toString: Function.prototype.toString}; + +String(obj); + diff --git a/test/suite/sputnik_converted/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_converted/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 index 7d11a2f946..0c7b7547dd 100644 --- a/test/suite/sputnik_converted/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_converted/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 @@ -1,13 +1,13 @@ -// 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; -*/ - +// 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; +*/ + // Converted for Test262 from original Sputnik source @@ -21,14 +21,14 @@ assertion: "An implementation-dependent representation of the function is return description: "For testing use Function.prototype.toString() function", test: function testcase() { - 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'); -} + 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'); +} } }); diff --git a/test/suite/sputnik_converted/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_A13.js b/test/suite/sputnik_converted/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_A13.js index fdbbd1ec34..6f6296d49d 100644 --- a/test/suite/sputnik_converted/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_A13.js +++ b/test/suite/sputnik_converted/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_A13.js @@ -1,28 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A13; -* @section: 15.3.4.3; -* @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @negative TypeError; -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S15.3.4.3_A13", - -path: "TestCases/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_A13.js", - -assertion: "If IsCallable(func) is false, then throw a TypeError exception.", - -description: "", - -test: function testcase() { - Function.prototype.apply.call(undefined, {}, []); - - } -}); + Function.prototype.apply.call(undefined, {}, []); + diff --git a/test/suite/sputnik_converted/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_A14.js b/test/suite/sputnik_converted/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_A14.js index df8f1c9016..fffbfeaf29 100644 --- a/test/suite/sputnik_converted/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_A14.js +++ b/test/suite/sputnik_converted/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_A14.js @@ -1,28 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A14; -* @section: 15.3.4.3; -* @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @negative TypeError; -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S15.3.4.3_A14", - -path: "TestCases/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_A14.js", - -assertion: "If IsCallable(func) is false, then throw a TypeError exception.", - -description: "", - -test: function testcase() { - Function.prototype.apply.call(null, {}, []); - - } -}); + Function.prototype.apply.call(null, {}, []); + diff --git a/test/suite/sputnik_converted/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_A15.js b/test/suite/sputnik_converted/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_A15.js index 3944177e35..3751ee5429 100644 --- a/test/suite/sputnik_converted/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_A15.js +++ b/test/suite/sputnik_converted/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_A15.js @@ -1,28 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A15; -* @section: 15.3.4.3; -* @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @negative TypeError; -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S15.3.4.3_A15", - -path: "TestCases/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_A15.js", - -assertion: "If IsCallable(func) is false, then throw a TypeError exception.", - -description: "", - -test: function testcase() { - Function.prototype.apply.call({}, {}, []); - - } -}); + Function.prototype.apply.call({}, {}, []); + diff --git a/test/suite/sputnik_converted/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_A16.js b/test/suite/sputnik_converted/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_A16.js index 6c35da6ba4..ae70171868 100644 --- a/test/suite/sputnik_converted/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_A16.js +++ b/test/suite/sputnik_converted/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_A16.js @@ -1,13 +1,13 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.3_A16; -* @section: 15.3.4.3; -* @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @description: A RegExp is not a function, but it may be callable. Iff it is, it's typeof should be 'function', in which case apply should accept it as a valid this value. -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S15.3.4.3_A16; +* @section: 15.3.4.3; +* @assertion: If IsCallable(func) is false, then throw a TypeError exception. +* @description: A RegExp is not a function, but it may be callable. Iff it is, it's typeof should be 'function', in which case apply should accept it as a valid this value. +*/ + // Converted for Test262 from original Sputnik source @@ -21,20 +21,20 @@ assertion: "If IsCallable(func) is false, then throw a TypeError exception.", description: "A RegExp is not a function, but it may be callable. Iff it is, it\'s typeof should be \'function\', in which case apply should accept it as a valid this value.", test: function testcase() { - var re = (/x/); -if (typeof re === 'function') { - Function.prototype.apply.call(re, undefined, ['x']); -} else { - try { - Function.prototype.bind.call(re, undefined); - $FAIL('#1: If IsCallable(func) is false, ' + - 'then (bind should) throw a TypeError exception'); - } catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1: TypeError expected. Actual: ' + e); - } - } -} + var re = (/x/); +if (typeof re === 'function') { + Function.prototype.apply.call(re, undefined, ['x']); +} else { + try { + Function.prototype.bind.call(re, undefined); + $FAIL('#1: If IsCallable(func) is false, ' + + 'then (bind should) throw a TypeError exception'); + } catch (e) { + if (!(e instanceof TypeError)) { + $ERROR('#1: TypeError expected. Actual: ' + e); + } + } +} } }); diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A13.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A13.js index db1dc4a3c1..7585e10552 100644 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A13.js +++ b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A13.js @@ -1,28 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A13; -* @section: 15.3.4.4; -* @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @negative TypeError; -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S15.3.4.4_A13", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A13.js", - -assertion: "If IsCallable(func) is false, then throw a TypeError exception.", - -description: "", - -test: function testcase() { - Function.prototype.call.call(undefined, {}); - - } -}); + Function.prototype.call.call(undefined, {}); + diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A14.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A14.js index ba6451d429..a707efb0f8 100644 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A14.js +++ b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A14.js @@ -1,28 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A14; -* @section: 15.3.4.4; -* @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @negative TypeError; -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S15.3.4.4_A14", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A14.js", - -assertion: "If IsCallable(func) is false, then throw a TypeError exception.", - -description: "", - -test: function testcase() { - Function.prototype.call.call(null, {}); - - } -}); + Function.prototype.call.call(null, {}); + diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A15.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A15.js index cc8cd13c2a..47a0eebe5a 100644 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A15.js +++ b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A15.js @@ -1,28 +1,9 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A15; -* @section: 15.3.4.4; -* @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @negative TypeError; -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S15.3.4.4_A15", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A15.js", - -assertion: "If IsCallable(func) is false, then throw a TypeError exception.", - -description: "", - -test: function testcase() { - Function.prototype.call.call({}, {}); - - } -}); + Function.prototype.call.call({}, {}); + diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A16.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A16.js index 244dfb50ec..7a83864412 100644 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A16.js +++ b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A16.js @@ -1,13 +1,13 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.4_A16; -* @section: 15.3.4.4; -* @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @description: A RegExp is not a function, but it may be callable. Iff it is, it's typeof should be 'function', in which case call should accept it as a valid this value. -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S15.3.4.4_A16; +* @section: 15.3.4.4; +* @assertion: If IsCallable(func) is false, then throw a TypeError exception. +* @description: A RegExp is not a function, but it may be callable. Iff it is, it's typeof should be 'function', in which case call should accept it as a valid this value. +*/ + // Converted for Test262 from original Sputnik source @@ -21,20 +21,20 @@ assertion: "If IsCallable(func) is false, then throw a TypeError exception.", description: "A RegExp is not a function, but it may be callable. Iff it is, it\'s typeof should be \'function\', in which case call should accept it as a valid this value.", test: function testcase() { - var re = (/x/); -if (typeof re === 'function') { - Function.prototype.call.call(re, undefined, 'x'); -} else { - try { - Function.prototype.bind.call(re, undefined); - $FAIL('#1: If IsCallable(func) is false, ' + - 'then (bind should) throw a TypeError exception'); - } catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1: TypeError expected. Actual: ' + e); - } - } -} + var re = (/x/); +if (typeof re === 'function') { + Function.prototype.call.call(re, undefined, 'x'); +} else { + try { + Function.prototype.bind.call(re, undefined); + $FAIL('#1: If IsCallable(func) is false, ' + + 'then (bind should) throw a TypeError exception'); + } catch (e) { + if (!(e instanceof TypeError)) { + $ERROR('#1: TypeError expected. Actual: ' + e); + } + } +} } }); diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A1.js index 09978bb2e0..bdf52353ba 100644 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A1.js +++ b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A1.js @@ -1,32 +1,12 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.5_A1; -* @section: 15.3.4.5; -* @assertion: "caller" of bound function is poisoned (step 20); -* @description A bound function should fail to find its "caller"; -* @negative TypeError; -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S15.3.4.5_A1", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A1.js", - -assertion: "\"caller\" of bound function is poisoned (step 20)", - -description: "", - -test: function testcase() { - function foo() { return bar.caller; } -var bar = foo.bind({}); -function baz() { return bar(); } -baz(); - - } -}); + function foo() { return bar.caller; } +var bar = foo.bind({}); +function baz() { return bar(); } +baz(); + diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A13.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A13.js index aeb6ecec2b..1e211cd92d 100644 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A13.js +++ b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A13.js @@ -1,29 +1,10 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.5_A13; -* @section: 15.3.4.5; -* @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @negative TypeError; -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S15.3.4.5_A13", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A13.js", - -assertion: "If IsCallable(func) is false, then throw a TypeError exception.", - -description: "", - -test: function testcase() { - Function.prototype.bind.call(undefined, {}); - - - } -}); + Function.prototype.bind.call(undefined, {}); + + diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A14.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A14.js index ed9005d5f8..39b2d6536b 100644 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A14.js +++ b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A14.js @@ -1,29 +1,10 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.5_A14; -* @section: 15.3.4.5; -* @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @negative TypeError; -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S15.3.4.5_A14", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A14.js", - -assertion: "If IsCallable(func) is false, then throw a TypeError exception.", - -description: "", - -test: function testcase() { - Function.prototype.bind.call(null, {}); - - - } -}); + Function.prototype.bind.call(null, {}); + + diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A15.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A15.js index 04c3b5270d..d5efb60072 100644 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A15.js +++ b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A15.js @@ -1,29 +1,10 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.5_A15; -* @section: 15.3.4.5; -* @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @negative TypeError; -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S15.3.4.5_A15", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A15.js", - -assertion: "If IsCallable(func) is false, then throw a TypeError exception.", - -description: "", - -test: function testcase() { - Function.prototype.bind.call({}, {}); - - - } -}); + Function.prototype.bind.call({}, {}); + + diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A16.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A16.js index 7ea0f95ea1..a8fc9f1a7b 100644 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A16.js +++ b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A16.js @@ -1,13 +1,13 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.5_A16; -* @section: 15.3.4.5; -* @assertion: If IsCallable(func) is false, then throw a TypeError exception. -* @description: A RegExp is not a function, but it may be callable. Iff it is, it's typeof should be 'function', in which case bind should accept it as a valid this value. -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S15.3.4.5_A16; +* @section: 15.3.4.5; +* @assertion: If IsCallable(func) is false, then throw a TypeError exception. +* @description: A RegExp is not a function, but it may be callable. Iff it is, it's typeof should be 'function', in which case bind should accept it as a valid this value. +*/ + // Converted for Test262 from original Sputnik source @@ -21,20 +21,20 @@ assertion: "If IsCallable(func) is false, then throw a TypeError exception.", description: "A RegExp is not a function, but it may be callable. Iff it is, it\'s typeof should be \'function\', in which case bind should accept it as a valid this value.", test: function testcase() { - var re = (/x/); -if (typeof re === 'function') { - Function.prototype.bind.call(re, undefined); -} else { - try { - Function.prototype.bind.call(re, undefined); - $FAIL('#1: If IsCallable(func) is false, ' + - 'then (bind should) throw a TypeError exception'); - } catch (e) { - if (!(e instanceof TypeError)) { - $ERROR('#1: TypeError expected. Actual: ' + e); - } - } -} + var re = (/x/); +if (typeof re === 'function') { + Function.prototype.bind.call(re, undefined); +} else { + try { + Function.prototype.bind.call(re, undefined); + $FAIL('#1: If IsCallable(func) is false, ' + + 'then (bind should) throw a TypeError exception'); + } catch (e) { + if (!(e instanceof TypeError)) { + $ERROR('#1: TypeError expected. Actual: ' + e); + } + } +} } }); diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js index 062129059f..a0b81118dc 100644 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js +++ b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js @@ -1,32 +1,12 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.4.5_A1; -* @section: 15.3.4.5; -* @assertion: "arguments" of bound function is poisoned (step 21); -* @description a bound function should fail to find the bound function "arguments"; -* @negative TypeError; -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + // Converted for Test262 from original Sputnik source -ES5Harness.registerTest( { -id: "S15.3.4.5_A2", - -path: "TestCases/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.5_Function.prototype.bind/S15.3.4.5_A2.js", - -assertion: "\"arguments\" of bound function is poisoned (step 21)", - -description: "", - -test: function testcase() { - function foo() { return bar.arguments; } -var bar = foo.bind({}); -function baz() { return bar(); } -baz(); - - } -}); + function foo() { return bar.arguments; } +var bar = foo.bind({}); +function baz() { return bar(); } +baz(); + diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A1.js index bc709e6c39..4fe5f3e226 100644 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A1.js +++ b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A1.js @@ -1,13 +1,13 @@ -// 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_A1; -* @section: 15.3.4; -* @assertion: The Function prototype object is itself a Function object (its [[Class]] is "Function"); -* @description: Object.prototype.toString returns [object+[[Class]]+]; -*/ - +// 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_A1; +* @section: 15.3.4; +* @assertion: The Function prototype object is itself a Function object (its [[Class]] is "Function"); +* @description: Object.prototype.toString returns [object+[[Class]]+]; +*/ + // Converted for Test262 from original Sputnik source @@ -21,10 +21,10 @@ assertion: "The Function prototype object is itself a Function object (its [[Cla description: "Object.prototype.toString returns [object+[[Class]]+]", test: function testcase() { - if (Object.prototype.toString.call(Function.prototype) !== "[object Function]") { - $ERROR('#2: The Function prototype object is itself a Function ' + - 'object (its [[Class]] is "Function") (15.3.4)'); -} + if (Object.prototype.toString.call(Function.prototype) !== "[object Function]") { + $ERROR('#2: The Function prototype object is itself a Function ' + + 'object (its [[Class]] is "Function") (15.3.4)'); +} } }); diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A3_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A3_T1.js index b1ac05b1a0..e46333a10d 100644 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A3_T1.js +++ b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A3_T1.js @@ -1,13 +1,13 @@ -// 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_A3_T1; -* @section: 15.3.4; -* @assertion: The value of the internal [[Prototype]] property of the Function prototype object is the Object prototype object (15.3.4); -* @description: Checking prototype of Function.prototype; -*/ - +// 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_A3_T1; +* @section: 15.3.4; +* @assertion: The value of the internal [[Prototype]] property of the Function prototype object is the Object prototype object (15.3.4); +* @description: Checking prototype of Function.prototype; +*/ + // Converted for Test262 from original Sputnik source @@ -21,11 +21,11 @@ assertion: "The value of the internal [[Prototype]] property of the Function pro description: "Checking prototype of Function.prototype", test: function testcase() { - if (Object.getPrototypeOf(Function.prototype) !== Object.prototype) { - $ERROR('#1: The value of the internal [[Prototype]] property of ' + - 'the Function prototype object is the Object prototype ' + - 'object (15.3.4)'); -} + if (Object.getPrototypeOf(Function.prototype) !== Object.prototype) { + $ERROR('#1: The value of the internal [[Prototype]] property of ' + + 'the Function prototype object is the Object prototype ' + + 'object (15.3.4)'); +} } }); diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A1_T1.js index fcf124ca83..39fc28a31d 100644 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A1_T1.js +++ b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5.1_A1_T1.js @@ -1,13 +1,13 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5.1_A1_T1; -* @section: 15.3.5.1; -* @assertion: The value of the length property is usually an integer that indicates the 'typical' number of arguments expected by the function; -* @description: Checking length property of Function("arg1,arg2,arg3", null); -*/ - +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S15.3.5.1_A1_T1; +* @section: 15.3.5.1; +* @assertion: The value of the length property is usually an integer that indicates the 'typical' number of arguments expected by the function; +* @description: Checking length property of Function("arg1,arg2,arg3", null); +*/ + // Converted for Test262 from original Sputnik source @@ -21,17 +21,17 @@ assertion: "The value of the length property is usually an integer that indicate description: "Checking length property of Function(\"arg1,arg2,arg3\", null)", test: function testcase() { - f = new Function("arg1,arg2,arg3", null); - -//CHECK#1 -if (!(f.hasOwnProperty('length'))) { - $FAIL('#1: the function has length property.'); -} - -//CHECK#2 -if (f.length !== 3) { - $ERROR('#2: The value of the length property is usually an integer that indicates the "typical" number of arguments expected by the function'); -} + f = new Function("arg1,arg2,arg3", null); + +//CHECK#1 +if (!(f.hasOwnProperty('length'))) { + $FAIL('#1: the function has length property.'); +} + +//CHECK#2 +if (f.length !== 3) { + $ERROR('#2: The value of the length property is usually an integer that indicates the "typical" number of arguments expected by the function'); +} } }); diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A1_T1.js index 9f1097cc6a..30aef2b93d 100644 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A1_T1.js +++ b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A1_T1.js @@ -1,13 +1,13 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5_A1_T1; -* @section: 15.3.5; -* @assertion: The value of the [[Class]] property is "Function"; -* @description: For testing use variable f = new Function; -*/ - +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S15.3.5_A1_T1; +* @section: 15.3.5; +* @assertion: The value of the [[Class]] property is "Function"; +* @description: For testing use variable f = new Function; +*/ + // Converted for Test262 from original Sputnik source @@ -21,11 +21,11 @@ assertion: "The value of the [[Class]] property is \"Function\"", description: "For testing use variable f = new Function", test: function testcase() { - var f = new Function; - -if (Object.prototype.toString.call(f) !== "[object Function]") { - $ERROR('#1: The value of the [[Class]] property is "Function"'); -} + var f = new Function; + +if (Object.prototype.toString.call(f) !== "[object Function]") { + $ERROR('#1: The value of the [[Class]] property is "Function"'); +} } }); diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A1_T2.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A1_T2.js index 42b5c6adff..13e8c1c478 100644 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A1_T2.js +++ b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.5_Properties_of_Function_Instances/S15.3.5_A1_T2.js @@ -1,13 +1,13 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.3.5_A1_T2; -* @section: 15.3.5; -* @assertion: The value of the [[Class]] property is "Function" ; -* @description: For testing use variable f = Function(); -*/ - +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S15.3.5_A1_T2; +* @section: 15.3.5; +* @assertion: The value of the [[Class]] property is "Function" ; +* @description: For testing use variable f = Function(); +*/ + // Converted for Test262 from original Sputnik source @@ -21,12 +21,12 @@ assertion: "The value of the [[Class]] property is \"Function\"", description: "For testing use variable f = Function()", test: function testcase() { - var f = Function(); - -if (Object.prototype.toString.call(f) !== "[object Function]") { - $ERROR('#1: The value of the [[Class]] property is "Function"'); -} - + var f = Function(); + +if (Object.prototype.toString.call(f) !== "[object Function]") { + $ERROR('#1: The value of the [[Class]] property is "Function"'); +} + } }); diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A8.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A8.js index d3a5086481..27874a8eee 100644 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A8.js +++ b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A8.js @@ -1,13 +1,13 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.4.4.11_A8; -* @section: 15.4.4.11; -* @assertion: Call the comparefn passing undefined as the this value (step 13b); -* @description: comparefn tests that its this value is undefined; -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S15.4.4.11_A8; +* @section: 15.4.4.11; +* @assertion: Call the comparefn passing undefined as the this value (step 13b); +* @description: comparefn tests that its this value is undefined; +*/ + // Converted for Test262 from original Sputnik source @@ -21,19 +21,19 @@ assertion: "Call the comparefn passing undefined as the this value (step 13b)", description: "comparefn tests that its this value is undefined", test: function testcase() { - var global = this; -[2,3].sort(function(x,y) { - "use strict"; - - if (this === global) { - $FAIL('#1: Sort leaks global'); - } - if (this !== undefined) { - $FAIL('#2: Sort comparefn should be called with this===undefined. ' + - 'Actual: ' + this); - } - return x - y; -}); + var global = this; +[2,3].sort(function(x,y) { + "use strict"; + + if (this === global) { + $FAIL('#1: Sort leaks global'); + } + if (this !== undefined) { + $FAIL('#2: Sort comparefn should be called with this===undefined. ' + + 'Actual: ' + this); + } + return x - y; +}); } }); diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.18_Array_prototype_forEach/S15.4.4.18_A1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.18_Array_prototype_forEach/S15.4.4.18_A1.js index 06cfd27caf..ea1355904e 100644 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.18_Array_prototype_forEach/S15.4.4.18_A1.js +++ b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.18_Array_prototype_forEach/S15.4.4.18_A1.js @@ -1,13 +1,13 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.18_A1; - * @section: 15.4.4.18; - * @assertion: array.forEach can be frozen while in progress - * @description: Freezes array.forEach during a forEach to see if it works -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** + * @name: S15.4.4.18_A1; + * @section: 15.4.4.18; + * @assertion: array.forEach can be frozen while in progress + * @description: Freezes array.forEach during a forEach to see if it works +*/ + // Converted for Test262 from original Sputnik source @@ -21,7 +21,7 @@ assertion: "array.forEach can be frozen while in progress", description: "Freezes array.forEach during a forEach to see if it works", test: function testcase() { - ['z'].forEach(function(){ Object.freeze(Array.prototype.forEach); }); + ['z'].forEach(function(){ Object.freeze(Array.prototype.forEach); }); } }); diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.18_Array_prototype_forEach/S15.4.4.18_A2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.18_Array_prototype_forEach/S15.4.4.18_A2.js index 400e59d0ca..a011d69a2a 100644 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.18_Array_prototype_forEach/S15.4.4.18_A2.js +++ b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.18_Array_prototype_forEach/S15.4.4.18_A2.js @@ -1,13 +1,13 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4.18_A2; - * @section: 15.4.4.18; - * @assertion: array.forEach can be frozen while in progress - * @description: Freezes array.forEach during a forEach to see if it works -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** + * @name: S15.4.4.18_A2; + * @section: 15.4.4.18; + * @assertion: array.forEach can be frozen while in progress + * @description: Freezes array.forEach during a forEach to see if it works +*/ + // Converted for Test262 from original Sputnik source @@ -21,10 +21,10 @@ assertion: "array.forEach can be frozen while in progress", description: "Freezes array.forEach during a forEach to see if it works", test: function testcase() { - function foo() { - ['z'].forEach(function(){ Object.freeze(Array.prototype.forEach); }); -} -foo(); + function foo() { + ['z'].forEach(function(){ Object.freeze(Array.prototype.forEach); }); +} +foo(); } }); diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.1_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.1_T2.js index de79b0809f..9380932bba 100644 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.1_T2.js +++ b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/S15.4.4_A1.1_T2.js @@ -1,12 +1,12 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** - * @name: S15.4.4_A1.1_T2; - * @section: 15.4.4; - * @assertion:The Array prototype object is itself an array; its [[Class]] is "Array", -*/ - +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** + * @name: S15.4.4_A1.1_T2; + * @section: 15.4.4; + * @assertion:The Array prototype object is itself an array; its [[Class]] is "Array", +*/ + // Converted for Test262 from original Sputnik source @@ -20,11 +20,11 @@ assertion: "The Array prototype object is itself an array; its [[Class]] is \"Ar description: "", test: function testcase() { - //CHECK#1 -if (Object.prototype.toString.call(Array.prototype) !== "[object Array]") { - $ERROR('The Array prototype object is itself an array; its' + - '[[Class]] is "Array".'); -} + //CHECK#1 +if (Object.prototype.toString.call(Array.prototype) !== "[object Array]") { + $ERROR('The Array prototype object is itself an array; its' + + '[[Class]] is "Array".'); +} } }); diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A12.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A12.js index 610c183f51..f7a83674ed 100644 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A12.js +++ b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A12.js @@ -1,13 +1,13 @@ -// Copyright 2011 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.11_A12; -* @section: 15.5.4.11; -* @assertion: Call replaceValue passing undefined as the this value; -* @description: replaceValue tests that its this value is undefined; -*/ - +// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S15.5.4.11_A12; +* @section: 15.5.4.11; +* @assertion: Call replaceValue passing undefined as the this value; +* @description: replaceValue tests that its this value is undefined; +*/ + // Converted for Test262 from original Sputnik source @@ -21,19 +21,19 @@ assertion: "Call replaceValue passing undefined as the this value", description: "replaceValue tests that its this value is undefined", test: function testcase() { - var global = this; -'x'.replace(/x/, function() { - "use strict"; - - if (this === global) { - $FAIL('#1: String replace leaks global'); - } - if (this !== undefined) { - $FAIL('#2: replaceValue should be called with this===undefined. ' + - 'Actual: ' + this); - } - return 'y'; -}); + var global = this; +'x'.replace(/x/, function() { + "use strict"; + + if (this === global) { + $FAIL('#1: String replace leaks global'); + } + if (this !== undefined) { + $FAIL('#2: replaceValue should be called with this===undefined. ' + + 'Actual: ' + this); + } + return 'y'; +}); } }); diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T1.js index 2838987400..b762948af9 100644 --- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T1.js +++ b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T1.js @@ -1,13 +1,13 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/** -* @name: S15.5.4.8_A1_T1; -* @section: 15.5.4.8; -* @assertion: String.prototype.lastIndexOf(searchString, position); -* @description: Arguments are false and true, and instance is object; -*/ - +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S15.5.4.8_A1_T1; +* @section: 15.5.4.8; +* @assertion: String.prototype.lastIndexOf(searchString, position); +* @description: Arguments are false and true, and instance is object; +*/ + // Converted for Test262 from original Sputnik source @@ -21,17 +21,17 @@ assertion: "String.prototype.lastIndexOf(searchString, position)", description: "Arguments are false and true, and instance is object", test: function testcase() { - var __instance = new Object(true); - -var __instance.lastIndexOf = String.prototype.lastIndexOf; - -////////////////////////////////////////////////////////////////////////////// -//CHECK#1 -if (__instance.lastIndexOf(true, false) !== 0) { - $ERROR('#1: __instance = new Object(true); __instance.lastIndexOf = String.prototype.lastIndexOf; __instance.lastIndexOf(true, false) === 0. Actual: '+__instance.lastIndexOf(true, false) ); -} -// -////////////////////////////////////////////////////////////////////////////// + var __instance = new Object(true); + +var __instance.lastIndexOf = String.prototype.lastIndexOf; + +////////////////////////////////////////////////////////////////////////////// +//CHECK#1 +if (__instance.lastIndexOf(true, false) !== 0) { + $ERROR('#1: __instance = new Object(true); __instance.lastIndexOf = String.prototype.lastIndexOf; __instance.lastIndexOf(true, false) === 0. Actual: '+__instance.lastIndexOf(true, false) ); +} +// +////////////////////////////////////////////////////////////////////////////// } }); diff --git a/tools/SputnikConverter/ES5TestCase.cs b/tools/SputnikConverter/ES5TestCase.cs index 4d1116a148..db39133a74 100644 --- a/tools/SputnikConverter/ES5TestCase.cs +++ b/tools/SputnikConverter/ES5TestCase.cs @@ -69,7 +69,7 @@ namespace Microsoft.Sputnik.Interop.ParserEngine Console.WriteLine(); } - string[] args = { script.Header, script.id, script.path, InsertStringEscapes(script.assertion), InsertStringEscapes(script.description), script.ReplicationCode, body, preCondition, script.InitialComment }; + string[] args = { script.Header, script.id, script.path.Replace("\\", "/"), InsertStringEscapes(script.assertion), InsertStringEscapes(script.description), script.ReplicationCode, body, preCondition, script.InitialComment }; destFullPath = Path.Combine(destDir, string.Format(@"{0}.js", script.id)); try diff --git a/tools/SputnikConverter/Microsoft.Sputnik.Interop.ParserEngine.csproj.user b/tools/SputnikConverter/Microsoft.Sputnik.Interop.ParserEngine.csproj.user index 18af890b4b..83cf0b36ad 100644 --- a/tools/SputnikConverter/Microsoft.Sputnik.Interop.ParserEngine.csproj.user +++ b/tools/SputnikConverter/Microsoft.Sputnik.Interop.ParserEngine.csproj.user @@ -14,6 +14,6 @@ - E:\test262-msft\test\suite\sputnik\conformance E:\test262-msft\test\suite\sputnik_new01 + G:\262\test262\test\suite\sputnik\conformance G:\262\test262\test\suite\sputnik_new01 \ No newline at end of file diff --git a/tools/SputnikConverter/Program.cs b/tools/SputnikConverter/Program.cs index e298f53530..3414375bd5 100644 --- a/tools/SputnikConverter/Program.cs +++ b/tools/SputnikConverter/Program.cs @@ -15,6 +15,7 @@ namespace Microsoft.Sputnik.Interop.ParserEngine if (args == null || args.Length < 2) { + System.Console.WriteLine("You must specify the source directory and the destination directory!"); return; } source = args[0]; diff --git a/tools/SputnikConverter/bin/Debug/Microsoft.Sputnik.Interop.ParserEngine.exe b/tools/SputnikConverter/bin/Debug/Microsoft.Sputnik.Interop.ParserEngine.ex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ICk=i;rrgOGu?h?&|F5Q#e_5$kq@ no`q#r?|;i9I{e_m)xtly@X+DZ;y)R(s^PG`{J+KC2IKz#u_oMc diff --git a/tools/SputnikConverter/bin/Debug/Microsoft.Sputnik.Interop.ParserEngine.pdb b/tools/SputnikConverter/bin/Debug/Microsoft.Sputnik.Interop.ParserEngine.pdb index 002465ffec2ee293dd9a5a3de10e9aa4daae2e19..8fe7baed3338e1fe51caa9ce43293c0a04f83a66 100644 GIT binary patch delta 11254 zcmaJ{33yf2wLa(M=H%Wa+~jgY=9`4vkb%q)14M{P7(@txSQ%wVAd$g=DbYlb+}M_i z43aFd3<(eviwvtx+m0BvVmA-0~YM*>9edv4t+Gp>Zn~C$?bJjX* z`1jg-uf6v<`&{2m!*|no$rc(LygIB(*EH?w-Yp}ao*6si?9A`H+P3+z=erX_b8L|x z=N*6OFUQ|LSWx_vqR4l4zHz$zn0{vXbmQ6SkvN@3OaHn_3toD< z{J2gj+e0WUc4zx5HtLAo8=L|7sg`q?UtF@WBR|I1~O{ps!ll^|uA!fgm7RSC3O2T%@wyJ>%n3Y^#cA zU7+pX18iFs)W5{G92$oT-J(9m9Jd1g@z1`T$;QRfn00}`TxVtbS~dv0o&PT`HAw8mSh=h08RxuNT%m9~-ccaNZ;v?j2xe(hcXQgky8aP;IBKjBG>k&iOZCNcSNcZ%F8X=; zSbZ&hl|IX;jG(fN9DNTxn2~|&o{Uyw?-GcjC?_*kzfMy#Cn1jSX6EX-bUJe!uAgRh zDwB?^SbY_}l9gesilEQN&4Fe9=v=*#mWpmT7)9kd#hK<@^98uUA$ouK!C z9tE8XdIEGF=vmPDpg#j;oF0p|_#i4OFjFxaXpf5~AGqqA}v`DmL)K%;@F-*;E zb~;;}>Us`F4Y0ZcbQ=TG`nnPHhsNQ-sJ-T-uNq^hV4ThK3GUXxE)}#x7920L*Gbjm z%2(z^bAcQm7g#I{oWn3Uki-5X3pVda3~gn7!?MYZ4>UAx5R*x?7UVjPauVUkKFUsw zlnCl7DUY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