[webkit-changes] [WebKit/WebKit] eced87: [JSC] Remove obsoleted Temporal.Instant API
SUZUKI Sosuke
noreply at github.com
Sun Aug 18 10:00:06 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: eced8713a99937f4e6503c1531b7dcb5b0799d57
https://github.com/WebKit/WebKit/commit/eced8713a99937f4e6503c1531b7dcb5b0799d57
Author: Sosuke Suzuki <aosukeke at gmail.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M JSTests/stress/date-to-temporal-instant.js
M JSTests/stress/temporal-instant.js
M Source/JavaScriptCore/runtime/ISO8601.h
M Source/JavaScriptCore/runtime/TemporalInstant.cpp
M Source/JavaScriptCore/runtime/TemporalInstant.h
M Source/JavaScriptCore/runtime/TemporalInstantConstructor.cpp
M Source/JavaScriptCore/runtime/TemporalInstantPrototype.cpp
Log Message:
-----------
[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]: https://github.com/tc39/proposal-temporal/pull/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
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list