summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Promise/reject/prop-desc.js
blob: d93864db9977e4b37d744f0b229ef2eba2a800a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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');

reportCompare(0, 0);