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 methods for Temporal.PlainTime and Temporal.Pl…
…ainDateTime https://bugs.webkit.org/show_bug.cgi?id=279312 Reviewed by NOBODY (OOPS!). 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]: tc39/proposal-temporal#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:
- Loading branch information
1 parent
792eaa7
commit 2726337
Showing
4 changed files
with
0 additions
and
43 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