Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7af7345ce5192ca27a5461ec5222abea88f24443
      
https://github.com/WebKit/WebKit/commit/7af7345ce5192ca27a5461ec5222abea88f24443
  Author: Tim Chevalier <[email protected]>
  Date:   2025-12-08 (Mon, 08 Dec 2025)

  Changed paths:
    M JSTests/stress/temporal-plainyearmonth.js
    M JSTests/test262/config.yaml
    M Source/JavaScriptCore/runtime/TemporalPlainYearMonth.cpp
    M Source/JavaScriptCore/runtime/TemporalPlainYearMonth.h
    M Source/JavaScriptCore/runtime/TemporalPlainYearMonthConstructor.cpp

  Log Message:
  -----------
  [Temporal] Add PlainYearMonth `from` method
https://bugs.webkit.org/show_bug.cgi?id=303503

Reviewed by Darin Adler and Sosuke Suzuki.

Add this method.

Co-authored-by: Darin Adler <[email protected]>

* JSTests/stress/temporal-plainyearmonth.js:
(shouldThrow):
* JSTests/test262/config.yaml:
* Source/JavaScriptCore/runtime/TemporalCalendar.cpp:
(JSC::TemporalCalendar::isoDateFromFields):
* Source/JavaScriptCore/runtime/TemporalPlainYearMonth.cpp:
(JSC::TemporalPlainYearMonth::from):
* Source/JavaScriptCore/runtime/TemporalPlainYearMonth.h:
* Source/JavaScriptCore/runtime/TemporalPlainYearMonthConstructor.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):

Canonical link: https://commits.webkit.org/304135@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to