mirror of https://github.com/tc39/test262.git
Add test for Promise prototype property descriptor
This commit is contained in:
parent
23659d6128
commit
cc7c77b9a1
|
@ -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…
Reference in New Issue