aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T1.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T1.js39
1 files changed, 0 insertions, 39 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T1.js
deleted file mode 100644
index 645e8be87..000000000
--- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T1.js
+++ /dev/null
@@ -1,39 +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.4.3_A1.1_T1;
- * @section: 15.4.3, 15.2.4.5;
- * @assertion: The value of the internal [[Prototype]] property of
- * the Array constructor is the Function prototype object;
- * @description: Create new property of Function.prototype. When Array constructor has this property;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.4.3_A1.1_T1",
-
-path: "TestCases/15_Native/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T1.js",
-
-assertion: "The value of the internal [[Prototype]] property of",
-
-description: "Create new property of Function.prototype. When Array constructor has this property",
-
-test: function testcase() {
- Function.prototype.myproperty = 1;
-
-//CHECK#1
-if (Array.myproperty !== 1) {
- $ERROR('#1: Function.prototype.myproperty = 1; Array.myproperty === 1. Actual: ' + (Array.myproperty));
-}
-
-//CHECK#2
-if (Array.hasOwnProperty('myproperty') !== false) {
- $ERROR('#2: Function.prototype.myproperty = 1; Array.hasOwnProperty(\'myproperty\') === false. Actual: ' + (Array.hasOwnProperty('myproperty')));
-}
-
- }
-});
-