summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/DurationFormat/prototype/toStringTag/toStringTag.js
blob: f8cd2882d255c45309bf6b102596c5838fc4fa9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// |reftest| skip -- Intl.DurationFormat is not supported
// Copyright (C) 2021 Nikhil Singhal. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
// Copyright 2022 Igalia, S.L. All rights reserved.

/*---
esid: sec-intl.DurationFormat.prototype-@@tostringtag
description: >
  Property descriptor of Intl.DurationFormat.prototype[@@toStringTag].
info: |
  Intl.DurationFormat.prototype [ @@toStringTag ]

  The initial value of the @@toStringTag property is the string value "Intl.DurationFormat".

  This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.

features: [Intl.DurationFormat, Symbol.toStringTag]
includes: [propertyHelper.js]
---*/

verifyProperty(Intl.DurationFormat.prototype, Symbol.toStringTag, {
  value: "Intl.DurationFormat",
  writable: false,
  enumerable: false,
  configurable: true
});

reportCompare(0, 0);