aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.js')
-rw-r--r--test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.js48
1 files changed, 0 insertions, 48 deletions
diff --git a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.js b/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.js
deleted file mode 100644
index fc47e2cba..000000000
--- a/test/suite/sputnik_converted/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.js
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S10.2.2_A1.2_T3;
- * @section: 10.2.2;
- * @assertion: The scope chain is initialised to contain the same objects,
- * in the same order, as the calling context's scope chain;
- * @description: eval within global execution context;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S10.2.2_A1.2_T3",
-
-path: "TestCases/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.js",
-
-assertion: "The scope chain is initialised to contain the same objects,",
-
-description: "eval within global execution context",
-
-test: function testcase() {
- function f(){
- var i;
- var j;
- str1 = '';
- str2 = '';
- this.x = 1;
- this.y = 2;
-
- for(i in this){
- str1+=i;
- }
-
- eval('for(j in this){\nstr2+=j;\n}');
-
- return (str1 === str2);
-}
-
-if(!f()){
- $ERROR("#1: scope chain must contain same objects in the same order as the calling context");
-}
-
- }
-});
-