Bug 279312
| Summary: | [JSC] Remove obsoleted methods for Temporal.PlainTime and Temporal.PlainDateTime | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sosuke Suzuki <sosuke> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sosuke Suzuki
Due to changes in Temporal from July 2024, several methods have become obsolete[1]. We have already
removed the methods of Temporal.Instant that were marked obsolete[2].
This patch removes the following methods from Temporal.PlainTime and Temporal.PlainDateTime:
- Temporal.PlainTime.prototype.toPlainDateTime
- Temporal.PlainDateTime.prototype.withPlainDate
Although there are other methods slated for removal in the Temporal changes[1], we had not yet
implemented those methods.
[1]: https://github.com/tc39/proposal-temporal/pull/2895
[2]: https://commits.webkit.org/282400@main
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sosuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/33288
EWS
Committed 283315@main (0bb3d02c4ce3): <https://commits.webkit.org/283315@main>
Reviewed commits have been landed. Closing PR #33288 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/135509670>