aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_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.1_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.1_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.1_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.1_A1_T1.js
deleted file mode 100644
index 5a9e802cc..000000000
--- a/test/suite/sputnik_converted/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_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.1_A1_T1;
-* @section: 15.11.3.1, 16;
-* @assertion: Error.prototype property has the attributes {DontDelete};
-* @description: Checking if deleting the Error.prototype property fails;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.11.3.1_A1_T1",
-
-path: "TestCases/15_Native/15.11_Error_Objects/15.11.3_Properties_of_the_Error_Constructor/S15.11.3.1_A1_T1.js",
-
-assertion: "Error.prototype property has the attributes {DontDelete}",
-
-description: "Checking if deleting the Error.prototype property fails",
-
-test: function testcase() {
- var proto=Error.prototype;
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#1
-if(delete Error.prototype){
- $ERROR('#1: delete Error.prototype return false');
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#2
-if(Error.prototype!==proto){
- $ERROR('#2: var proto=Error.prototype; delete Error.prototype; Error.prototype===proto. Actual: '+Error.prototype);
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
- }
-});
-