Add test for Promise prototype property descriptor

This commit is contained in:
Mike Pennisi 2016-06-24 20:16:50 -04:00
parent 23659d6128
commit cc7c77b9a1
1 changed files with 15 additions and 0 deletions

View 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');