summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/prop-desc.js
blob: 9694e2d296435f99f0172f641bb47a8afa936192 (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('FinalizationRegistry')) -- FinalizationRegistry 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 FinalizationRegistry.prototype
esid: sec-finalization-registry.prototype
info: |
  This property has the attributes { [[Writable]]: false, [[Enumerable]]: false,
  [[Configurable]]: false }.
features: [FinalizationRegistry]
includes: [propertyHelper.js]
---*/

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

reportCompare(0, 0);