forked from WebKit/WebKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JSC] Remove obsoleted Temporal.Instant API
https://bugs.webkit.org/show_bug.cgi?id=278285 Reviewed by Yusuke Suzuki. At the TC39 meeting on 2024-06, it was decied to obsolete several Temporal APIs[1][2]. This patch removes the following for Temporal.Instant: - Temporal.Instant.fromEpochSeconds - Temporal.Instant.fromEpochMicroseconds - Temporal.Instant.prototype.epochSeconds - Temporal.Instant.prototype.epochMicroseconds [1]: https://github.com/tc39/notes/blob/main/meetings/2024-06/june-12.md#temporal-stage-3-update-and-scope-reduction [2]: tc39/proposal-temporal#2895 * JSTests/stress/date-to-temporal-instant.js: (shouldBe): * JSTests/stress/temporal-instant.js: (shouldBe): (instants.forEach): * Source/JavaScriptCore/runtime/ISO8601.h: * Source/JavaScriptCore/runtime/TemporalInstant.cpp: * Source/JavaScriptCore/runtime/TemporalInstant.h: * Source/JavaScriptCore/runtime/TemporalInstantConstructor.cpp: * Source/JavaScriptCore/runtime/TemporalInstantPrototype.cpp: Canonical link: https://commits.webkit.org/282400@main
- Loading branch information
1 parent
255dc62
commit eced871
Showing
7 changed files
with
0 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.