Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 70f276559133cbe9af745868ab2794d138d47849
      
https://github.com/WebKit/WebKit/commit/70f276559133cbe9af745868ab2794d138d47849
  Author: Tim Chevalier <[email protected]>
  Date:   2025-12-15 (Mon, 15 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/TemporalPlainYearMonthPrototype.cpp

  Log Message:
  -----------
  [Temporal] Implement addition and subtraction for PlainYearMonth
https://bugs.webkit.org/show_bug.cgi?id=304093

Reviewed by Sosuke Suzuki.

Implement `add` and `subtract` methods.

Co-authored-by: SUZUKI Sosuke <[email protected]>

* JSTests/stress/temporal-plainyearmonth.js:
(shouldBe):
* JSTests/test262/config.yaml:
* Source/JavaScriptCore/runtime/TemporalPlainYearMonth.cpp:
(JSC::TemporalPlainYearMonth::addDurationToYearMonth):
* Source/JavaScriptCore/runtime/TemporalPlainYearMonth.h:
* Source/JavaScriptCore/runtime/TemporalPlainYearMonthPrototype.cpp:
(JSC::temporalPlainYearMonthPrototypeAddOrSubtract):
(JSC::JSC_DEFINE_HOST_FUNCTION):

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



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

Reply via email to