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