mirror of
				https://github.com/tc39/test262.git
				synced 2025-11-03 21:24:30 +01:00 
			
		
		
		
	Uniformly and exhaustively test the generic aspects of the static- and instance Promise methods, including: - function `length` properties - function `name` properties - method property descriptors
		
			
				
	
	
		
			20 lines
		
	
	
		
			572 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			572 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
// Copyright 2015 Jordan Harband.  All rights reserved.
 | 
						|
// See LICENSE for details.
 | 
						|
 | 
						|
/*---
 | 
						|
es6id: 25.4.4.4_A1.2_T1
 | 
						|
author: Jordan Harband
 | 
						|
description: Promise.reject property descriptor
 | 
						|
info: >
 | 
						|
    ES6 Section 17
 | 
						|
 | 
						|
    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(Promise, 'reject');
 | 
						|
verifyWritable(Promise, 'reject');
 | 
						|
verifyConfigurable(Promise, 'reject');
 |