[webkit-changes] [WebKit/WebKit] 0bb3d0: [JSC] Remove obsoleted methods for Temporal.PlainT...
SUZUKI Sosuke
noreply at github.com
Sun Sep 8 10:38:17 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0bb3d02c4ce36b533f7013ef161ac3fbbb52e278
https://github.com/WebKit/WebKit/commit/0bb3d02c4ce36b533f7013ef161ac3fbbb52e278
Author: Sosuke Suzuki <aosukeke at gmail.com>
Date: 2024-09-08 (Sun, 08 Sep 2024)
Changed paths:
M JSTests/stress/temporal-plaindatetime.js
M JSTests/stress/temporal-plaintime.js
M Source/JavaScriptCore/runtime/TemporalPlainDateTimePrototype.cpp
M Source/JavaScriptCore/runtime/TemporalPlainTimePrototype.cpp
Log Message:
-----------
[JSC] Remove obsoleted methods for Temporal.PlainTime and Temporal.PlainDateTime
https://bugs.webkit.org/show_bug.cgi?id=279312
Reviewed by Yusuke 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
* JSTests/stress/temporal-plaindatetime.js:
* JSTests/stress/temporal-plaintime.js:
(shouldBe.String.Temporal.PlainTime.from):
* Source/JavaScriptCore/runtime/TemporalPlainDateTimePrototype.cpp:
* Source/JavaScriptCore/runtime/TemporalPlainTimePrototype.cpp:
Canonical link: https://commits.webkit.org/283315@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