aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3_A1_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3_A1_T1.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3_A1_T1.js43
1 files changed, 0 insertions, 43 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3_A1_T1.js
deleted file mode 100644
index 177f3e2ed..000000000
--- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3_A1_T1.js
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
-* @name: S15.11.3_A1_T1;
-* @section: 15.11.3, 16;
-* @assertion: The value of the internal [[Prototype]] property of the Error constructor is the Function prototype object(15.3.4);
-* @description: Checking prototype of constructor of the newly constructed Error object;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.11.3_A1_T1",
-
-path: "TestCases/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3_A1_T1.js",
-
-assertion: "The value of the internal [[Prototype]] property of the Error constructor is the Function prototype object(15.3.4)",
-
-description: "Checking prototype of constructor of the newly constructed Error object",
-
-test: function testcase() {
- //////////////////////////////////////////////////////////////////////////////
-//CHECK#1
-var err1=Error("err");
-if(!Function.prototype.isPrototypeOf(err1.constructor)){
- $ERROR('#1: var err1=Error("err"); Function.prototype.isPrototypeOf(err1.constructor) return true. Actual:'+Function.prototype.isPrototypeOf(err1.constructor));
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#2
-if(!Function.prototype.isPrototypeOf(Error.constructor)){
- $ERROR('#2: Function.prototype.isPrototypeOf(Error.constructor) return true. Actual:'+Function.prototype.isPrototypeOf(Error.constructor));
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
- }
-});
-