No ctor for WeakRef.prototype

This commit is contained in:
Leo Balter 2019-06-03 16:54:44 -04:00 committed by Rick Waldron
parent 969d4e68b4
commit e3d87d6690

View File

@ -2,22 +2,12 @@
// This code is governed by the BSD license found in the LICENSE file. // This code is governed by the BSD license found in the LICENSE file.
/*--- /*---
esid: sec-weak-ref.prototype.constructor esid: sec-properties-of-the-weak-ref-prototype-object
description: WeakRef.prototype.constructor property descriptor description: WeakRef.prototype.constructor is not defined
info: | info: |
WeakRef.prototype.constructor Ref https://github.com/tc39/proposal-weakrefs/issues/55#issuecomment-444534867
The initial value of WeakRef.prototype.constructor is the intrinsic
object %WeakRef%.
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
features: [WeakRef] features: [WeakRef]
---*/ ---*/
verifyProperty(WeakRef.prototype, "constructor", { var actual = WeakRef.prototype.hasOwnProperty('constructor');
value: WeakRef, assert.sameValue(actual, false);
writable: true,
enumerable: false,
configurable: true
});