File tree Expand file tree Collapse file tree 1 file changed +5
-15
lines changed
test/built-ins/WeakRef/prototype Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change 22// This code is governed by the BSD license found in the LICENSE file.
33
44/*---
5- esid: sec-weak-ref. prototype.constructor
6- description: WeakRef.prototype.constructor property descriptor
5+ esid: sec-properties-of-the- weak-ref- prototype-object
6+ description: WeakRef.prototype.constructor is not defined
77info: |
8- WeakRef.prototype.constructor
9-
10- The initial value of WeakRef.prototype.constructor is the intrinsic
11- object %WeakRef%.
12-
13- 17 ECMAScript Standard Built-in Objects
14- includes: [propertyHelper.js]
8+ Ref https://github.com/tc39/proposal-weakrefs/issues/55#issuecomment-444534867
159features: [WeakRef]
1610---*/
1711
18- verifyProperty ( WeakRef . prototype , "constructor" , {
19- value : WeakRef ,
20- writable : true ,
21- enumerable : false ,
22- configurable : true
23- } ) ;
12+ var actual = WeakRef . prototype . hasOwnProperty ( 'constructor' ) ;
13+ assert . sameValue ( actual , false ) ;
You can’t perform that action at this time.
0 commit comments