aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.js')
-rw-r--r--test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.js54
1 files changed, 0 insertions, 54 deletions
diff --git a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.js b/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.js
deleted file mode 100644
index cf6361a6f..000000000
--- a/test/suite/sputnik_converted/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.js
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S8.6.2_A2;
- * @section: 8.6.2, 15.2.4;
- * @assertion: Properties of the [[Prototype]] object
- * are visible as properties of the child object for the purposes of get access, but not for put access;
- * @description: Check visibility properties of the child object for the purposes of get access, but not for put access;
- * @strict_mode_negative
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S8.6.2_A2",
-
-path: "TestCases/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.js",
-
-assertion: "Properties of the [[Prototype]] object",
-
-description: "Check visibility properties of the child object for the purposes of get access, but not for put access",
-
-test: function testcase() {
- //Establish foo object
-function FooObj(){};
-FooObj.prototype.prop="some";
-
-// Invoke instance of foo object
-var foo= new FooObj;
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#1
-if (foo.prop !== "some"){
- $ERROR('#1: function FooObj(){}; FooObj.prototype.prop="some"; var foo= new FooObj; foo.prop === "some". Actual: ' + (foo.prop));
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#2
-foo.prop=true;
-// Invoke another instance of foo object
-var foo__ = new FooObj;
-if (foo__.prop !== "some"){
- $ERROR('#2: function FooObj(){}; FooObj.prototype.prop="some"; var foo= new FooObj; foo.prop=true; var foo__ = new FooObj; foo__.prop === "some". Actual: ' + (foo__.prop));
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
- }
-});
-