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

  Changed paths:
    A JSTests/stress/awaited-rejected-promise.js
    M Source/JavaScriptCore/interpreter/Interpreter.cpp

  Log Message:
  -----------
  [JSC] Add empty `JSValue` checking for async stack trace
https://bugs.webkit.org/show_bug.cgi?id=299644

Reviewed by Yusuke Suzuki.

After https://commits.webkit.org/300283@main, when rejected promise is awaited,
a Segmentation Fault may be occured.

This patch changes to fix it with adding empty `JSValue` checking.

Test: JSTests/stress/awaited-rejected-promise.js

Test: JSTests/stress/awaited-rejected-promise.js
* JSTests/stress/awaited-rejected-promise.js: Added.
(shouldBe):
(async foo):
* Source/JavaScriptCore/interpreter/Interpreter.cpp:
(JSC::Interpreter::getAsyncStackTrace):

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