aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T6.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T6.js')
-rw-r--r--test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T6.js62
1 files changed, 0 insertions, 62 deletions
diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T6.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T6.js
deleted file mode 100644
index 52578d3dd..000000000
--- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T6.js
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
-* @name: S13.2.2_A19_T6;
-* @section: 13.2.2;
-* @assertion: Function's scope chain is started when it is declared;
-* @description: Function is declared in the "object->do-while" scope, then the object is deleted and another object with the same name is declared;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S13.2.2_A19_T6",
-
-path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T6.js",
-
-assertion: "Function\'s scope chain is started when it is declared",
-
-description: "Function is declared in the \"object->do-while\" scope, then the object is deleted and another object with the same name is declared",
-
-test: function testcase() {
- var a = 1;
-
-var __obj = {a:2};
-
-with (__obj)
-{
- do {
- var __func = function()
- {
- return a;
- }
- } while(0);
-}
-
-delete __obj;
-
-var __obj = {a:3};
-
-with (__obj)
-{
- result = __func();
-}
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#1
-if (result !== 2) {
- $ERROR('#1: result === 2. Actual: result ==='+result);
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
-
-
-
-
-
- }
-});
-