// |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.plaindate 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.PlainDate(1970, 1, 1, calendar); }, `${calendar} is not yet supported`); } reportCompare(0, 0);