Closed
Bug 2009792
Opened 1 day ago
Closed 10 hours ago
Don't constrain month if monthCode is also present
Categories
(Core :: JavaScript: Standard Library, defect, P1)
Core
JavaScript: Standard Library
Tracking
()
RESOLVED
FIXED
149 Branch
| Tracking | Status | |
|---|---|---|
| firefox149 | --- | fixed |
People
(Reporter: anba, Assigned: anba)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Temporal.PlainDate.from({ calendar: 'gregory', monthCode: 'M12', month: 13, year: 2019, day: 1 }, { overflow: 'constrain' }) should throw a RangeError. See https://github.com/tc39/proposal-intl-era-monthcode/pull/107#issuecomment-3720651274.
| Assignee | ||
Comment 1•22 hours ago
|
||
No change in behaviour. (Except for RangeError error messages.)
This change is needed for part 2.
| Assignee | ||
Comment 2•22 hours ago
|
||
| Assignee | ||
Comment 3•22 hours ago
|
||
Updated•21 hours ago
|
Severity: -- → S3
Priority: -- → P1
Pushed by andre.bargull@gmail.com:
https://github.com/mozilla-firefox/firefox/commit/4552297da3df
https://hg.mozilla.org/integration/autoland/rev/d28786e6c9f8
Part 1: Switch month and monthCode cases in CalendarFieldMonth. r=spidermonkey-reviewers,dminor
https://github.com/mozilla-firefox/firefox/commit/1ff34544012d
https://hg.mozilla.org/integration/autoland/rev/c3aa0eb9cc02
Part 2: Don't constrain month if monthCode is also present. r=spidermonkey-reviewers,dminor
https://github.com/mozilla-firefox/firefox/commit/06f08d63a74a
https://hg.mozilla.org/integration/autoland/rev/dfb19519c9fa
Part 3: Prefer Int32ToCString for int32 values. r=spidermonkey-reviewers,dminor
Comment 5•10 hours ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/d28786e6c9f8
https://hg.mozilla.org/mozilla-central/rev/c3aa0eb9cc02
https://hg.mozilla.org/mozilla-central/rev/dfb19519c9fa
Status: ASSIGNED → RESOLVED
Closed: 10 hours ago
status-firefox149:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•