Backed out 2 changesets (bug 1888310, bug 1884625) for causing failures on browser_ap...
[gecko.git] / js / src / tests / test262 / built-ins / Temporal / PlainDate / prototype / constructor.js
blob3363c592ed098182ea3817e264d5cf78af00d594
1 // |reftest| skip-if(!this.hasOwnProperty('Temporal')) -- Temporal is not enabled unconditionally
2 // Copyright (C) 2022 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.plaindate.prototype.constructor
7 description: Test for Temporal.PlainDate.prototype.constructor.
8 info: The initial value of Temporal.PlainDate.prototype.constructor is %Temporal.PlainDate%.
9 includes: [propertyHelper.js]
10 features: [Temporal]
11 ---*/
13 verifyProperty(Temporal.PlainDate.prototype, "constructor", {
14   value: Temporal.PlainDate,
15   writable: true,
16   enumerable: false,
17   configurable: true,
18 });
20 reportCompare(0, 0);