Backed out 2 changesets (bug 1908320) for causing wr failures on align-items-baseline...
[gecko.git] / js / src / tests / test262 / built-ins / Temporal / ZonedDateTime / prototype / toLocaleString / prop-desc.js
blobb35f9f7fb99d52cdf06ea815e23d253f2e304d15
1 // |reftest| skip-if(!this.hasOwnProperty('Temporal')) -- Temporal is not enabled unconditionally
2 // Copyright (C) 2021 Igalia, S.L. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
5 /*---
6 esid: sec-temporal.zoneddatetime.prototype.tolocalestring
7 description: The "toLocaleString" property of Temporal.ZonedDateTime.prototype
8 includes: [propertyHelper.js]
9 features: [Temporal]
10 ---*/
12 assert.sameValue(
13   typeof Temporal.ZonedDateTime.prototype.toLocaleString,
14   "function",
15   "`typeof ZonedDateTime.prototype.toLocaleString` is `function`"
18 verifyProperty(Temporal.ZonedDateTime.prototype, "toLocaleString", {
19   writable: true,
20   enumerable: false,
21   configurable: true,
22 });
24 reportCompare(0, 0);