aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4.js')
-rw-r--r--test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4.js48
1 files changed, 0 insertions, 48 deletions
diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4.js
deleted file mode 100644
index 56450800a..000000000
--- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4.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: S11.2.1_A3_T4;
-* @section: 11.2.1, 9.9, 11.2.3, 15.6.4.2;
-* @assertion: MemberExpression calls ToObject(MemberExpression) and ToString(Expression). CallExpression calls ToObject(CallExpression) and ToString(Expression)
-* @description: Checking "undefined" case;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S11.2.1_A3_T4",
-
-path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4.js",
-
-assertion: "MemberExpression calls ToObject(MemberExpression) and ToString(Expression). CallExpression calls ToObject(CallExpression) and ToString(Expression)",
-
-description: "Checking \"undefined\" case",
-
-test: function testcase() {
- //CHECK#1
-try {
- undefined.toString();
- $ERROR('#1.1: undefined.toString() throw TypeError. Actual: ' + (undefined.toString()));
-}
-catch (e) {
- if ((e instanceof TypeError) !== true) {
- $ERROR('#1.2: undefined.toString() throw TypeError. Actual: ' + (e));
- }
-}
-
-//CHECK#2
-try {
- undefined["toString"]();
- $ERROR('#2.1: undefined["toString"]() throw TypeError. Actual: ' + (undefined["toString"]()));
-}
-catch (e) {
- if ((e instanceof TypeError) !== true) {
- $ERROR('#2.2: undefined["toString"]() throw TypeError. Actual: ' + (e));
- }
-}
-
- }
-});
-