aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.2.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.2.js44
1 files changed, 0 insertions, 44 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.2.js
deleted file mode 100644
index 3b4a01811..000000000
--- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.2.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.1.2.4_A2.2;
- * @section: 15.1.2.4, 15.2.4.5, 11.4.1;
- * @assertion: The length property of isNaN has the attribute DontDelete;
- * @description: Checking use hasOwnProperty, delete;
- * @strict_mode_negative
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.1.2.4_A2.2",
-
-path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.4_isNaN/S15.1.2.4_A2.2.js",
-
-assertion: "The length property of isNaN has the attribute DontDelete",
-
-description: "Checking use hasOwnProperty, delete",
-
-test: function testcase() {
- //CHECK#1
-if (isNaN.hasOwnProperty('length') !== true) {
- $FAIL('#1: isNaN.hasOwnProperty(\'length\') === true. Actual: ' + (isNaN.hasOwnProperty('length')));
-}
-
-delete isNaN.length;
-
-//CHECK#2
-if (isNaN.hasOwnProperty('length') !== true) {
- $ERROR('#2: delete isNaN.length; isNaN.hasOwnProperty(\'length\') === true. Actual: ' + (isNaN.hasOwnProperty('length')));
-}
-
-//CHECK#3
-if (isNaN.length === undefined) {
- $ERROR('#3: delete isNaN.length; isNaN.length !== undefined');
-}
-
- }
-});
-