aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.4_A2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.4_A2.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.4_A2.js41
1 files changed, 0 insertions, 41 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.4_A2.js b/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.4_A2.js
deleted file mode 100644
index 4224db2a2..000000000
--- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.4_A2.js
+++ /dev/null
@@ -1,41 +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.4.4_A2;
- * @section: 15.11.4.4, 16;
- * @assertion: The Error.prototype.toString returns an implementation defined string;
- * @description: Checking if call of Error.prototype.toSting() fails;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.11.4.4_A2",
-
-path: "TestCases/15_Native/15.11_Error_Objects/15.11.4_Properties_of_the_Error_Prototype_Object/S15.11.4.4_A2.js",
-
-assertion: "The Error.prototype.toString returns an implementation defined string",
-
-description: "Checking if call of Error.prototype.toSting() fails",
-
-test: function testcase() {
- //////////////////////////////////////////////////////////////////////////////
-// CHECK#1
-var err1=new Error("Error");
-try{
- var toStr=err1.toString();
-}
-catch(e){
- $ERROR('#1: var err1=new Error("Error"); var toStr=err1.toString(); lead to throwing exception. Exception is '+e);
-}
-if (toStr===undefined) {
- $ERROR('#2: var err1=new Error("Error"); var toStr=err1.toString(); toStr!==undefined. Actual: '+toStr);
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
- }
-});
-