mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
Add test for Promise prototype property descriptor
This commit is contained in:
parent
23659d6128
commit
cc7c77b9a1
15
test/built-ins/Promise/prototype/prop-desc.js
vendored
Normal file
15
test/built-ins/Promise/prototype/prop-desc.js
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
esid: sec-promise.prototype
|
||||
es6id: 25.4.4.2
|
||||
description: Property descriptor of 'prototype' property
|
||||
info: >
|
||||
This property has the attributes { [[Writable]]: false, [[Enumerable]]:
|
||||
false, [[Configurable]]: false }.
|
||||
includes: [propertyHelper.js]
|
||||
---*/
|
||||
|
||||
verifyNotEnumerable(Promise, 'prototype');
|
||||
verifyNotWritable(Promise, 'prototype');
|
||||
verifyNotConfigurable(Promise, 'prototype');
|
Loading…
x
Reference in New Issue
Block a user