mirror of
				https://github.com/tc39/test262.git
				synced 2025-10-31 19:53:50 +01:00 
			
		
		
		
	Prior to this commit, the descriptors of the constructor properties of the global object were verified inconsistently, many independent assertions occured in the same file, and that file test was poorly located. Restructure the relevant tests to improve coverage, follow convention, and promote discoverability.
		
			
				
	
	
		
			17 lines
		
	
	
		
			590 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			590 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // Copyright (C) 2019 Bocoup. All rights reserved.
 | |
| // This code is governed by the BSD license found in the LICENSE file.
 | |
| 
 | |
| /*---
 | |
| esid: sec-constructor-properties-of-the-global-object-boolean
 | |
| description: Property descriptor for Boolean
 | |
| info: |
 | |
|   Every other data property described in clauses 18 through 26 and in Annex B.2
 | |
|   has the attributes { [[Writable]]: true, [[Enumerable]]: false,
 | |
|   [[Configurable]]: true } unless otherwise specified.
 | |
| includes: [propertyHelper.js]
 | |
| ---*/
 | |
| 
 | |
| verifyNotEnumerable(this, "Boolean");
 | |
| verifyWritable(this, "Boolean");
 | |
| verifyConfigurable(this, "Boolean");
 |