Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dab2cf707db19ca3bc7f2379b7217a9a47510506
https://github.com/WebKit/WebKit/commit/dab2cf707db19ca3bc7f2379b7217a9a47510506
Author: Tim Chevalier <[email protected]>
Date: 2025-10-08 (Wed, 08 Oct 2025)
Changed paths:
A JSTests/stress/temporal-plainmonthday.js
M JSTests/test262/config.yaml
M Source/JavaScriptCore/CMakeLists.txt
M Source/JavaScriptCore/DerivedSources.make
M Source/JavaScriptCore/Sources.txt
M Source/JavaScriptCore/runtime/ISO8601.h
M Source/JavaScriptCore/runtime/JSGlobalObject.cpp
M Source/JavaScriptCore/runtime/JSGlobalObject.h
M Source/JavaScriptCore/runtime/TemporalObject.cpp
M Source/JavaScriptCore/runtime/TemporalObject.h
A Source/JavaScriptCore/runtime/TemporalPlainMonthDay.cpp
A Source/JavaScriptCore/runtime/TemporalPlainMonthDay.h
A Source/JavaScriptCore/runtime/TemporalPlainMonthDayConstructor.cpp
A Source/JavaScriptCore/runtime/TemporalPlainMonthDayConstructor.h
A Source/JavaScriptCore/runtime/TemporalPlainMonthDayPrototype.cpp
A Source/JavaScriptCore/runtime/TemporalPlainMonthDayPrototype.h
Log Message:
-----------
[Temporal] Add PlainMonthDay
https://bugs.webkit.org/show_bug.cgi?id=300389
Reviewed by Yusuke Suzuki.
Add basic support for Temporal PlainMonthDay type, without most
methods yet.
Test: JSTests/stress/temporal-plainmonthday.js
* JSTests/stress/temporal-plainmonthday.js: Added.
(shouldBe):
(shouldThrow):
(const.monthDay.new.Temporal.PlainMonthDay):
* JSTests/test262/config.yaml:
* Source/JavaScriptCore/CMakeLists.txt:
* Source/JavaScriptCore/DerivedSources.make:
* Source/JavaScriptCore/Sources.txt:
* Source/JavaScriptCore/runtime/ISO8601.h:
* Source/JavaScriptCore/runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::init):
(JSC::JSGlobalObject::visitChildrenImpl):
* Source/JavaScriptCore/runtime/JSGlobalObject.h:
(JSC::JSGlobalObject::plainMonthDayStructure):
* Source/JavaScriptCore/runtime/TemporalObject.cpp:
(JSC::createPlainMonthDayConstructor):
(JSC::toTemporalOverflow):
* Source/JavaScriptCore/runtime/TemporalObject.h:
* Source/JavaScriptCore/runtime/TemporalPlainMonthDay.cpp: Added.
(JSC::TemporalPlainMonthDay::create):
(JSC::TemporalPlainMonthDay::createStructure):
(JSC::TemporalPlainMonthDay::TemporalPlainMonthDay):
(JSC::TemporalPlainMonthDay::finishCreation):
(JSC::TemporalPlainMonthDay::visitChildrenImpl):
(JSC::TemporalPlainMonthDay::tryCreateIfValid):
(JSC::TemporalPlainMonthDay::monthCode const):
* Source/JavaScriptCore/runtime/TemporalPlainMonthDay.h: Added.
* Source/JavaScriptCore/runtime/TemporalPlainMonthDayConstructor.cpp: Added.
(JSC::TemporalPlainMonthDayConstructor::create):
(JSC::TemporalPlainMonthDayConstructor::createStructure):
(JSC::TemporalPlainMonthDayConstructor::TemporalPlainMonthDayConstructor):
(JSC::TemporalPlainMonthDayConstructor::finishCreation):
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/JavaScriptCore/runtime/TemporalPlainMonthDayConstructor.h: Added.
* Source/JavaScriptCore/runtime/TemporalPlainMonthDayPrototype.cpp: Added.
(JSC::TemporalPlainMonthDayPrototype::create):
(JSC::TemporalPlainMonthDayPrototype::createStructure):
(JSC::TemporalPlainMonthDayPrototype::TemporalPlainMonthDayPrototype):
(JSC::TemporalPlainMonthDayPrototype::finishCreation):
(JSC::JSC_DEFINE_CUSTOM_GETTER):
* Source/JavaScriptCore/runtime/TemporalPlainMonthDayPrototype.h: Added.
Canonical link: https://commits.webkit.org/301244@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes