Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2a82bda90bd6bc624ae3c17ef0fe83d7b6c4f8ce
https://github.com/WebKit/WebKit/commit/2a82bda90bd6bc624ae3c17ef0fe83d7b6c4f8ce
Author: Philip Chimento <[email protected]>
Date: 2025-04-17 (Thu, 17 Apr 2025)
Changed paths:
M JSTests/stress/temporal-instant.js
M JSTests/test262/config.yaml
M JSTests/test262/expectations.yaml
M Source/JavaScriptCore/runtime/TemporalDuration.cpp
Log Message:
-----------
[JSC] Tighten Temporal test expectations
https://bugs.webkit.org/show_bug.cgi?id=223166
Reviewed by Yusuke Suzuki and Sosuke Suzuki.
Some improvements to the tests for Temporal.
* JSTests/stress/temporal-instant.js: Add an extra test for zero-length
annotation values.
* JSTests/test262/config.yaml: Remove most
argument-string-time-zone-annotation.js from the skip list. In some
cases, these tests already pass. In other cases they fail but because
of something else that's not implemented, so recategorize them under
another heading.
* JSTests/test262/expectations.yaml: Adjust the expectations for two
tests. Previously, these tests would hit a debug assertion in
TemporalDuration::round(ISO8601::Duration&, double, TemporalUnit,
RoundingMode) Since we are throwing an error to avoid hitting the
assertion, reflect the thrown error in the expectation.
* Source/JavaScriptCore/runtime/TemporalDuration.cpp: Properly throw an
error on not-implemented behaviour so that the debug assertion isn't
hit.
(JSC::TemporalDuration::round const):
(JSC::TemporalDuration::total const):
Canonical link: https://commits.webkit.org/293829@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