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

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

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

Reviewed by Yusuke Suzuki.

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

Test: JSTests/stress/async-stack-trace-promise-race-basic.js
* JSTests/stress/async-stack-trace-promise-race-basic.js: Added.
(nop):
(shouldThrowAsync):
(throw.new.Error.async fine):
(throw.new.Error.async thrower):
(throw.new.Error.async run):
(async task1):
(async task2):
(async task3):
(async run):
(throw.new.Error.async drainMicrotasks):
* Source/JavaScriptCore/builtins/PromiseConstructor.js:
(race):
* Source/JavaScriptCore/interpreter/Interpreter.cpp:
(JSC::Interpreter::getAsyncStackTrace):

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