Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d9a997b3edaaebbd6b0a8a433272f415ff9f7404
      
https://github.com/WebKit/WebKit/commit/d9a997b3edaaebbd6b0a8a433272f415ff9f7404
  Author: Sosuke Suzuki <[email protected]>
  Date:   2025-09-26 (Fri, 26 Sep 2025)

  Changed paths:
    A JSTests/stress/async-stack-trace-promise-any-basic.js
    M Source/JavaScriptCore/builtins/PromiseConstructor.js
    M Source/JavaScriptCore/interpreter/Interpreter.cpp

  Log Message:
  -----------
  [JSC] Suppprt `Promise.any` in async stack trace
https://bugs.webkit.org/show_bug.cgi?id=299288

Reviewed by Yusuke Suzuki.

This patch changes async stack trace to support `Promise.any`.

Test: JSTests/stress/async-stack-trace-promise-any-basic.js

Test: JSTests/stress/async-stack-trace-promise-any-basic.js
* JSTests/stress/async-stack-trace-promise-any-basic.js: Added.
(nop):
(shouldBe):
(testStack):
(async fine):
(async thrower):
(async run):
(i.const.aggregateError.shouldThrowAsync.async test):
(testStack.async task1):
(testStack.async task2):
(testStack.async task3):
(testStack.async run):
* Source/JavaScriptCore/builtins/PromiseConstructor.js:
(any):
* Source/JavaScriptCore/interpreter/Interpreter.cpp:
(JSC::Interpreter::getAsyncStackTrace):

Canonical link: https://commits.webkit.org/300623@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

Reply via email to