aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A3.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A3.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A3.js44
1 files changed, 0 insertions, 44 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A3.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A3.js
deleted file mode 100644
index 533ff26fd..000000000
--- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A3.js
+++ /dev/null
@@ -1,44 +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.5.3.1_A3;
-* @section: 15.5.3.1, 15.5.4;
-* @assertion: The String.prototype property has the attribute DontDelete;
-* @description: Checking if deleting the String.prototype property fails;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.5.3.1_A3",
-
-path: "TestCases/15_Native/15.5_String_Objects/15.5.3_Properties_of_the_String_Constructor/S15.5.3.1_A3.js",
-
-assertion: "The String.prototype property has the attribute DontDelete",
-
-description: "Checking if deleting the String.prototype property fails",
-
-test: function testcase() {
- //////////////////////////////////////////////////////////////////////////////
-//CHECK#1
-if (!(String.hasOwnProperty('prototype'))) {
- $FAIL('#1: String.hasOwnProperty(\'prototype\') return true. Actual: '+String.hasOwnProperty('prototype'));
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
-delete String.prototype;
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#2
-if (!(String.hasOwnProperty('prototype'))) {
- $ERROR('#2: delete String.prototype; String.hasOwnProperty(\'prototype\') return true. Actual: '+String.hasOwnProperty('prototype'));
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
- }
-});
-