mirror of https://github.com/tc39/test262.git
Regenerated w fixed paths and ietc optimizations turned off
This commit is contained in:
parent
c79fbddc94
commit
db516d2a64
|
@ -5,7 +5,7 @@
|
|||
* Program functions are defined in source text by a FunctionDeclaration or created dynamically either
|
||||
* by using a FunctionExpression or by using the built-in Function object as a constructor
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1.js
|
||||
* @path 10_Execution_Contexts/10.1_Types_of_Executable_Code/S10.1.1_A1_T1.js
|
||||
* @description Defining function by a FunctionDeclaration
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Program functions are defined in source text by a FunctionDeclaration or created dynamically either
|
||||
* by using a FunctionExpression or by using the built-in Function object as a constructor
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2.js
|
||||
* @path 10_Execution_Contexts/10.1_Types_of_Executable_Code/S10.1.1_A1_T2.js
|
||||
* @description Creating function dynamically by using a FunctionExpression
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Program functions are defined in source text by a FunctionDeclaration or created dynamically either
|
||||
* by using a FunctionExpression or by using the built-in Function object as a constructor
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3.js
|
||||
* @path 10_Execution_Contexts/10.1_Types_of_Executable_Code/S10.1.1_A1_T3.js
|
||||
* @description Creating function dynamically by using the built-in Function object as a constructor
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* There are two types of Function objects. Internal functions
|
||||
* are built-in objects of the language, such as parseInt and Math.exp
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1.js
|
||||
* @path 10_Execution_Contexts/10.1_Types_of_Executable_Code/S10.1.1_A2_T1.js
|
||||
* @description Checking types of parseInt and Math.exp
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/**
|
||||
* The activation object is initialised with a property with name arguments and attributes {DontDelete}
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1.js
|
||||
* @path 10_Execution_Contexts/10.1_Types_of_Executable_Code/S10.1.6_A1_T1.js
|
||||
* @description Checking if deleting function parameter is possible
|
||||
* @noStrict
|
||||
*/
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/**
|
||||
* The activation object is initialised with a property with name arguments and attributes {DontDelete}
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2.js
|
||||
* @path 10_Execution_Contexts/10.1_Types_of_Executable_Code/S10.1.6_A1_T2.js
|
||||
* @description Checking funtion which returns property "arguments"
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/**
|
||||
* The activation object is initialised with a property with name arguments and attributes {DontDelete}
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3.js
|
||||
* @path 10_Execution_Contexts/10.1_Types_of_Executable_Code/S10.1.6_A1_T3.js
|
||||
* @description Checking function which returns "this"
|
||||
* @noStrict
|
||||
*/
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/**
|
||||
* The this value associated with an executioncontext is immutable
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1.js
|
||||
* @path 10_Execution_Contexts/10.1_Types_of_Executable_Code/S10.1.7_A1_T1.js
|
||||
* @description Checking if deleting "this" fails
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* If the caller supplies fewer parameter values than there are
|
||||
* formal parameters, the extra formal parameters have value undefined
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.1_Environment_Records/S10.1.3_A1.js
|
||||
* @description Calling function excluding a few parameters
|
||||
*/
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* the same property, the corresponding property is given the value that was
|
||||
* supplied for the last parameter with this name
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.1_Environment_Records/S10.1.3_A2.js
|
||||
* @description Creating functions initialized with two or more formal parameters, which have the same name
|
||||
* @noStrict
|
||||
*/
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* name as some previous parameters do) was not supplied by the
|
||||
* caller, the value of the corresponding property is undefined
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.1_Environment_Records/S10.1.3_A3.js
|
||||
* @description Creating functions with two or more formal parameters,
|
||||
* that have the same name. Calling this function excluding a few last parameters
|
||||
*/
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* value and attributes. Semantically, this step must follow the creation of
|
||||
* FormalParameterList properties
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.1_Environment_Records/S10.1.3_A4_T1.js
|
||||
* @description Checking existence of a function with passed parameter
|
||||
* @noStrict
|
||||
*/
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* value and attributes. Semantically, this step must follow the creation of
|
||||
* FormalParameterList properties
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.1_Environment_Records/S10.1.3_A4_T2.js
|
||||
* @description Checking existence of a function with declared variable
|
||||
*/
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* in the VariableDeclaration or VariableDeclarationNoIn, whose value is
|
||||
* undefined and whose attributes are determined by the type of code
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.1_Environment_Records/S10.1.3_A5.1_T1.js
|
||||
* @description Checking variable existence only
|
||||
*/
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* in the VariableDeclaration or VariableDeclarationNoIn, whose value is
|
||||
* undefined and whose attributes are determined by the type of code
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.1_Environment_Records/S10.1.3_A5.1_T2.js
|
||||
* @description Checking existence of the variable object property with formal parameter
|
||||
*/
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* name of a declared variable, the value of the property and its attributes
|
||||
* are not changed
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.1_Environment_Records/S10.1.3_A5.2_T1.js
|
||||
* @description Checking existence of the variable object property with formal parameter
|
||||
*/
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* A scope chain is a list of objects that are searched when evaluating an
|
||||
* Identifier
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T1.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.2__Lexical_Environment_Operations/S10.1.4_A1_T1.js
|
||||
* @description Checking scope chain containing function declarations
|
||||
*/
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* A scope chain is a list of objects that are searched when evaluating an
|
||||
* Identifier
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T2.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.2__Lexical_Environment_Operations/S10.1.4_A1_T2.js
|
||||
* @description Checking scope chain containing function declarations
|
||||
*/
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* A scope chain is a list of objects that are searched when evaluating an
|
||||
* Identifier
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T3.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.2__Lexical_Environment_Operations/S10.1.4_A1_T3.js
|
||||
* @description Checking scope chain containing function declarations
|
||||
*/
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* A scope chain is a list of objects that are searched when evaluating an
|
||||
* Identifier
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T4.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.2__Lexical_Environment_Operations/S10.1.4_A1_T4.js
|
||||
* @description Checking scope chain containing function declarations
|
||||
*/
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* A scope chain is a list of objects that are searched when evaluating an
|
||||
* Identifier
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.2__Lexical_Environment_Operations/S10.1.4_A1_T5.js
|
||||
* @description Checking scope chain containing function declarations and "with"
|
||||
* @noStrict
|
||||
*/
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* A scope chain is a list of objects that are searched when evaluating an
|
||||
* Identifier
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.2__Lexical_Environment_Operations/S10.1.4_A1_T6.js
|
||||
* @description Checking scope chain containing function declarations and "with"
|
||||
* @noStrict
|
||||
*/
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* A scope chain is a list of objects that are searched when evaluating an
|
||||
* Identifier
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.2__Lexical_Environment_Operations/S10.1.4_A1_T7.js
|
||||
* @description Checking scope chain containing function declarations and "with"
|
||||
* @noStrict
|
||||
*/
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* A scope chain is a list of objects that are searched when evaluating an
|
||||
* Identifier
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.2__Lexical_Environment_Operations/S10.1.4_A1_T8.js
|
||||
* @description Checking scope chain containing function declarations and "with"
|
||||
* @noStrict
|
||||
*/
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* A scope chain is a list of objects that are searched when evaluating an
|
||||
* Identifier
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T9.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.2__Lexical_Environment_Operations/S10.1.4_A1_T9.js
|
||||
* @description Checking scope chain containing function declarations and "with"
|
||||
* @noStrict
|
||||
*/
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Global object has properties such as built-in objects such as
|
||||
* Math, String, Date, parseInt, etc
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A1.1_T1.js
|
||||
* @description Global execution context - Value Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Global object has properties such as built-in objects such as
|
||||
* Math, String, Date, parseInt, etc
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A1.1_T2.js
|
||||
* @description Global execution context - Function Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Global object has properties such as built-in objects such as
|
||||
* Math, String, Date, parseInt, etc
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A1.1_T3.js
|
||||
* @description Global execution context - Constructor Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Global object has properties such as built-in objects such as
|
||||
* Math, String, Date, parseInt, etc
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A1.1_T4.js
|
||||
* @description Global execution context - Other Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Global object has properties such as built-in objects such as
|
||||
* Math, String, Date, parseInt, etc
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A1.2_T1.js
|
||||
* @description Function execution context - Value Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Global object has properties such as built-in objects such as
|
||||
* Math, String, Date, parseInt, etc
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A1.2_T2.js
|
||||
* @description Function execution context - Function Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Global object has properties such as built-in objects such as
|
||||
* Math, String, Date, parseInt, etc
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A1.2_T3.js
|
||||
* @description Function execution context - Constructor Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Global object has properties such as built-in objects such as
|
||||
* Math, String, Date, parseInt, etc
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A1.2_T4.js
|
||||
* @description Function execution context - Other Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Global object has properties such as built-in objects such as
|
||||
* Math, String, Date, parseInt, etc
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A1.3_T1.js
|
||||
* @description Eval execution context - Value Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Global object has properties such as built-in objects such as
|
||||
* Math, String, Date, parseInt, etc
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A1.3_T2.js
|
||||
* @description Eval execution context - Function Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Global object has properties such as built-in objects such as
|
||||
* Math, String, Date, parseInt, etc
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A1.3_T3.js
|
||||
* @description Eval execution context - Constructor Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Global object has properties such as built-in objects such as
|
||||
* Math, String, Date, parseInt, etc
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A1.3_T4.js
|
||||
* @description Eval execution context - Other Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/**
|
||||
* Global object properties have attributes { DontEnum }
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A2.1_T1.js
|
||||
* @description Global execution context - Value Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/**
|
||||
* Global object properties have attributes { DontEnum }
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A2.1_T2.js
|
||||
* @description Global execution context - Function Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/**
|
||||
* Global object properties have attributes { DontEnum }
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A2.1_T3.js
|
||||
* @description Global execution context - Constructor Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/**
|
||||
* Global object properties have attributes { DontEnum }
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A2.1_T4.js
|
||||
* @description Global execution context - Other Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/**
|
||||
* Global object properties have attributes { DontEnum }
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A2.2_T1.js
|
||||
* @description Function execution context - Value Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/**
|
||||
* Global object properties have attributes { DontEnum }
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A2.2_T2.js
|
||||
* @description Function execution context - Function Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/**
|
||||
* Global object properties have attributes { DontEnum }
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A2.2_T3.js
|
||||
* @description Function execution context - Constructor Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/**
|
||||
* Global object properties have attributes { DontEnum }
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A2.2_T4.js
|
||||
* @description Function execution context - Other Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/**
|
||||
* Global object properties have attributes { DontEnum }
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A2.3_T1.js
|
||||
* @description Global execution context - Value Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/**
|
||||
* Global object properties have attributes { DontEnum }
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A2.3_T2.js
|
||||
* @description Global execution context - Function Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/**
|
||||
* Global object properties have attributes { DontEnum }
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A2.3_T3.js
|
||||
* @description Global execution context - Constructor Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/**
|
||||
* Global object properties have attributes { DontEnum }
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4.js
|
||||
* @path 10_Execution_Contexts/10.2_Lexical_Environments/10.2.3_The_Global_Environment/S10.1.5_A2.3_T4.js
|
||||
* @description Global execution context - Other Properties
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Variable instantiation is performed using the global object as
|
||||
* the variable object and using property attributes { DontDelete }
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T1.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.1_Global_Code/S10.2.1_A1_T1.js
|
||||
* @description Checking if deleting variable x, that is defined as var x = 1, fails
|
||||
* @noStrict
|
||||
*/
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Variable instantiation is performed using the global object as
|
||||
* the variable object and using property attributes { DontDelete }
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T2.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.1_Global_Code/S10.2.1_A1_T2.js
|
||||
* @description Checking if deleting variable x, that is defined as x = 1, fails
|
||||
* @noStrict
|
||||
*/
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.1_T1.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.1_T10.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.1_T11.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.1_T2.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.1_T3.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.1_T4.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.1_T5.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.1_T6.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.1_T7.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.1_T8.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.1_T9.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.2_T1.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.2_T10.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.2_T11.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.2_T2.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.2_T3.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.2_T4.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.2_T5.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.2_T6.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.2_T7.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.2_T8.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The scope chain is initialised to contain the same objects,
|
||||
* in the same order, as the calling context's scope chain
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/10.4.2_Eval_Code/S10.2.2_A1.2_T9.js
|
||||
* @description eval within global execution context
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/**
|
||||
* Every function call enters a new execution context
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/S10.2_A1.1_T1.js
|
||||
* @description Sequence of function calls
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/**
|
||||
* Every function call enters a new execution context
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2.js
|
||||
* @path 10_Execution_Contexts/10.4_Establishing_An_Execution_Context/S10.2_A1.1_T2.js
|
||||
* @description Recursive function call
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* When control enters an execution context for function code,
|
||||
* an arguments object is created and initialised
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1.js
|
||||
* @path 10_Execution_Contexts/10.6_Arguments_Object/S10.1.8_A1.js
|
||||
* @description Executing function which uses arguments object
|
||||
*/
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* created arguments object is the original Object prototype object, the one
|
||||
* that is the initial value of Object.prototype
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2.js
|
||||
* @path 10_Execution_Contexts/10.6_Arguments_Object/S10.1.8_A2.js
|
||||
* @description Checking arguments.constructor.prototype===Object.prototype
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* A property is created with name callee with property
|
||||
* attributes { DontEnum } and no others
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1.js
|
||||
* @path 10_Execution_Contexts/10.6_Arguments_Object/S10.1.8_A3_T1.js
|
||||
* @description Checking existence of arguments.callee property
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* A property is created with name callee with property
|
||||
* attributes { DontEnum } and no others
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2.js
|
||||
* @path 10_Execution_Contexts/10.6_Arguments_Object/S10.1.8_A3_T2.js
|
||||
* @description Checking if enumerating the arguments.callee property fails
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* A property is created with name callee with property
|
||||
* attributes { DontEnum } and no others
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.js
|
||||
* @path 10_Execution_Contexts/10.6_Arguments_Object/S10.1.8_A3_T3.js
|
||||
* @description Checking if deleting arguments.callee property fails
|
||||
* @noStrict
|
||||
*/
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* A property is created with name callee with property
|
||||
* attributes { DontEnum } and no others
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4.js
|
||||
* @path 10_Execution_Contexts/10.6_Arguments_Object/S10.1.8_A3_T4.js
|
||||
* @description Overriding arguments.callee property
|
||||
* @noStrict
|
||||
*/
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The initial value of the created property callee is the
|
||||
* Function object being executed
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4.js
|
||||
* @path 10_Execution_Contexts/10.6_Arguments_Object/S10.1.8_A4.js
|
||||
* @description Checking that arguments.callee === function object
|
||||
* @noStrict
|
||||
*/
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* A property is created with name length with property
|
||||
* attributes { DontEnum } and no others
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1.js
|
||||
* @path 10_Execution_Contexts/10.6_Arguments_Object/S10.1.8_A5_T1.js
|
||||
* @description Checking existence of arguments.length property
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* A property is created with name length with property
|
||||
* attributes { DontEnum } and no others
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2.js
|
||||
* @path 10_Execution_Contexts/10.6_Arguments_Object/S10.1.8_A5_T2.js
|
||||
* @description Checking if enumerating the arguments.length property fails
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* A property is created with name length with property
|
||||
* attributes { DontEnum } and no others
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3.js
|
||||
* @path 10_Execution_Contexts/10.6_Arguments_Object/S10.1.8_A5_T3.js
|
||||
* @description Checking if deleting arguments.length property fails
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* A property is created with name length with property
|
||||
* attributes { DontEnum } and no others
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4.js
|
||||
* @path 10_Execution_Contexts/10.6_Arguments_Object/S10.1.8_A5_T4.js
|
||||
* @description Overriding arguments.length property
|
||||
*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* The initial value of the created property length is the number
|
||||
* of actual parameter values supplied by the caller
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6.js
|
||||
* @path 10_Execution_Contexts/10.6_Arguments_Object/S10.1.8_A6.js
|
||||
* @description Create function, that returned arguments.length
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/**
|
||||
* Get arguments of function
|
||||
*
|
||||
* @path 10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7.js
|
||||
* @path 10_Execution_Contexts/10.6_Arguments_Object/S10.1.8_A7.js
|
||||
* @description Use property arguments
|
||||
*/
|
||||
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
*/
|
||||
|
||||
|
||||
assertTruthy(function () {
|
||||
function testcase() {
|
||||
return function () {
|
||||
"use strict";
|
||||
try {
|
||||
eval("var public = 1;");
|
||||
|
@ -33,4 +34,6 @@ assertTruthy(function () {
|
|||
} catch (e) {
|
||||
return e instanceof SyntaxError;
|
||||
}
|
||||
} ());
|
||||
} ();
|
||||
}
|
||||
runTestCase(testcase);
|
||||
|
|
|
@ -25,8 +25,11 @@
|
|||
*/
|
||||
|
||||
|
||||
assertTruthy(function () {
|
||||
function testcase() {
|
||||
return function () {
|
||||
eval("var public = 1;");
|
||||
return public === 1;
|
||||
"use strict";
|
||||
} ());
|
||||
} ();
|
||||
}
|
||||
runTestCase(testcase);
|
||||
|
|
|
@ -25,8 +25,11 @@
|
|||
*/
|
||||
|
||||
|
||||
assertTruthy(function () {
|
||||
function testcase() {
|
||||
return function () {
|
||||
eval("var public = 1;");
|
||||
"use strict";
|
||||
return public === 1;
|
||||
} ());
|
||||
} ();
|
||||
}
|
||||
runTestCase(testcase);
|
||||
|
|
Loading…
Reference in New Issue