Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 66872dfe52e5dda40df2e0684a172e62ccc87f30
      
https://github.com/WebKit/WebKit/commit/66872dfe52e5dda40df2e0684a172e62ccc87f30
  Author: Tim Chevalier <[email protected]>
  Date:   2026-01-10 (Sat, 10 Jan 2026)

  Changed paths:
    M JSTests/test262/expectations.yaml
    M Source/JavaScriptCore/runtime/TemporalPlainDatePrototype.cpp
    M Source/JavaScriptCore/runtime/TemporalPlainDateTimePrototype.cpp
    M Source/JavaScriptCore/runtime/TemporalPlainTime.cpp
    M Source/JavaScriptCore/runtime/TemporalPlainTime.h
    M Source/JavaScriptCore/runtime/TemporalPlainTimeConstructor.cpp
    M Source/JavaScriptCore/runtime/TemporalPlainTimePrototype.cpp

  Log Message:
  -----------
  [Temporal] Fix order of operations in Temporal.PlainTime.from

https://bugs.webkit.org/show_bug.cgi?id=305061

Reviewed by Yusuke Suzuki.

According to the spec, the overflow option should be read after the fields
when calling `from` on a property bag. This change improves the result for
the test test/built-ins/Temporal/PlainTime/from/order-of-operations.js (it
now fails because ZonedDateTime is not implemented).

* JSTests/test262/expectations.yaml:
* Source/JavaScriptCore/runtime/TemporalObject.cpp:
(JSC::doubleNumberOption):
* Source/JavaScriptCore/runtime/TemporalPlainDatePrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/JavaScriptCore/runtime/TemporalPlainDateTimePrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/JavaScriptCore/runtime/TemporalPlainTime.cpp:
(JSC::TemporalPlainTime::from):
* Source/JavaScriptCore/runtime/TemporalPlainTime.h:
* Source/JavaScriptCore/runtime/TemporalPlainTimeConstructor.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/JavaScriptCore/runtime/TemporalPlainTimePrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):

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



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

Reply via email to