summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/WeakRef/prototype/prop-desc.js
blob: 53def27b83e1b99e83318d07288ce991d810c570 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// |reftest| skip-if(!this.hasOwnProperty('WeakRef')) -- WeakRef is not enabled unconditionally
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
description: The property descriptor WeakRef.prototype
esid: sec-weak-ref.prototype
info: |
  This property has the attributes { [[Writable]]: false, [[Enumerable]]: false,
  [[Configurable]]: false }.
features: [WeakRef]
includes: [propertyHelper.js]
---*/

verifyProperty(WeakRef, 'prototype', {
  writable: false,
  enumerable: false,
  configurable: false
});

reportCompare(0, 0);