diff options
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T6.js')
-rw-r--r-- | test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T6.js | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T6.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T6.js deleted file mode 100644 index 297436b4e..000000000 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T6.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.2.4.4_A1_T6;
-* @section: 15.2.4.4;
-* @assertion: The valueOf method returns its "this" value;
-* @description: "this" value is "undefined";
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.2.4.4_A1_T6",
-
-path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T6.js",
-
-assertion: "The valueOf method returns its \"this\" value",
-
-description: "\"this\" value is \"undefined\"",
-
-test: function testcase() {
- //CHECK#1
-if (typeof Object.prototype.valueOf !== "function") {
- $ERROR('#1: valueOf method defined');
-}
-
-var obj=new Object(undefined);
-
-//CHECK#2
-if (typeof obj.valueOf !== "function") {
- $ERROR('#2: valueOf method accessed');
-}
-
-//CHECK#3
-if (obj.valueOf()!==obj) {
- $ERROR('#3: The valueOf method returns its this value');
-}
-
-
- }
-});
-
|