aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T4.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_T4.js')
-rw-r--r--test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T4.js55
1 files changed, 0 insertions, 55 deletions
diff --git a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T4.js b/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T4.js
deleted file mode 100644
index 7d0d6c17a..000000000
--- a/test/suite/sputnik_converted/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T4.js
+++ /dev/null
@@ -1,55 +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_T4;
-* @section: 13.2.2;
-* @assertion: Function's scope chain is started when it is declared;
-* @description: Function is declared in the hierarchical object scope and then an exception is thrown;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S13.2.2_A19_T4",
-
-path: "TestCases/13_Function_Definition/13.2_Creating_Function_Objects/S13.2.2_A19_T4.js",
-
-assertion: "Function\'s scope chain is started when it is declared",
-
-description: "Function is declared in the hierarchical object scope and then an exception is thrown",
-
-test: function testcase() {
- var a = 1;
-
-var __obj = {a:2,__obj:{a:3}};
-
-try {
- with (__obj)
- {
- with(__obj){
- var __func = function(){return a;};
- throw 5;
- }
- }
-} catch (e) {
- ;
-}
-
-result = __func();
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#1
-if (result !== 3) {
- $ERROR('#1: result === 3. Actual: result ==='+result);
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
-
-
-
- }
-});
-