Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
michael@0 | 1 | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | |
michael@0 | 6 | |
michael@0 | 7 | /** |
michael@0 | 8 | File Name: 15.6.3.js |
michael@0 | 9 | ECMA Section: 15.6.3 Properties of the Boolean Constructor |
michael@0 | 10 | |
michael@0 | 11 | Description: The value of the internal prototype property is |
michael@0 | 12 | the Function prototype object. |
michael@0 | 13 | |
michael@0 | 14 | It has the internal [[Call]] and [[Construct]] |
michael@0 | 15 | properties, and the length property. |
michael@0 | 16 | |
michael@0 | 17 | Author: christine@netscape.com |
michael@0 | 18 | Date: june 27, 1997 |
michael@0 | 19 | |
michael@0 | 20 | */ |
michael@0 | 21 | var SECTION = "15.6.3"; |
michael@0 | 22 | var VERSION = "ECMA_2"; |
michael@0 | 23 | startTest(); |
michael@0 | 24 | var TITLE = "Properties of the Boolean Constructor" |
michael@0 | 25 | writeHeaderToLog( SECTION + TITLE ); |
michael@0 | 26 | |
michael@0 | 27 | |
michael@0 | 28 | new TestCase( SECTION, "Boolean.__proto__ == Function.prototype", true, Boolean.__proto__ == Function.prototype ); |
michael@0 | 29 | new TestCase( SECTION, "Boolean.length", 1, Boolean.length ); |
michael@0 | 30 | |
michael@0 | 31 | test(); |