Source code

Revision control

Copy as Markdown

Other Tools

// |reftest| skip-if(!this.hasOwnProperty('Temporal')) -- Temporal is not enabled unconditionally
// Copyright (C) 2026 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-temporal.plainmonthday
description: Not-yet-adopted calendar IDs are rejected
includes: [temporalHelpers.js]
features: [Intl.Era-monthcode, Temporal]
---*/
for (const calendar of TemporalHelpers.NotYetSupportedCalendars) {
assert.throws(RangeError, function () {
new Temporal.PlainMonthDay(1, 1, calendar, 1970);
}, `${calendar} is not yet supported`);
}
reportCompare(0, 0);