Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1593318ffde1f962fa892026e255196dc0d5bd96
      
https://github.com/WebKit/WebKit/commit/1593318ffde1f962fa892026e255196dc0d5bd96
  Author: Cole Carley <[email protected]>
  Date:   2026-04-24 (Fri, 24 Apr 2026)

  Changed paths:
    M LayoutTests/js/promise-isPromise-expected.txt
    M LayoutTests/js/promise-isPromise.html

  Log Message:
  -----------
  [Site Isolation] js/promise-isPromise.html fails
https://bugs.webkit.org/show_bug.cgi?id=313156
rdar://175446291

Reviewed by Ryosuke Niwa.

This patch: https://commits.webkit.org/311150@main adding reporting for
unhandled promise rejections, which show up as a console message in LayoutTests
expected files. In the non site isolation case, the tests finishes before the
message is reported. Site isolation's additional IPC overhead allows for enough
time for the message to be reported, causing the text failure.

To fix this issue, I added a 0s delay before calling finishJSTest in the
unhandledrejection eventListener, which allows the message to be reported first.

* LayoutTests/js/promise-isPromise-expected.txt:
* LayoutTests/js/promise-isPromise.html:

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



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

Reply via email to