Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 37262f843756586ff24d131777788b4d92112a30
      
https://github.com/WebKit/WebKit/commit/37262f843756586ff24d131777788b4d92112a30
  Author: Ryosuke Niwa <[email protected]>
  Date:   2026-04-23 (Thu, 23 Apr 2026)

  Changed paths:
    M LayoutTests/fast/shadow-dom/shadow-at-root-during-disconnect.html
    M LayoutTests/platform/ios-site-isolation/TestExpectations
    M LayoutTests/platform/mac-site-isolation/TestExpectations

  Log Message:
  -----------
  [Site Isolation] fast/shadow-dom/shadow-at-root-during-disconnect.html fails
https://bugs.webkit.org/show_bug.cgi?id=313103

Reviewed by Megan Gardner.

The test called parent.pass() synchronously from the SVG script, immediately 
after
appendChild(parent.target) moved the iframe between documents. The reconnected 
iframe's
javascript: URL is executed asynchronously (queued as an event loop task by 
PolicyChecker
because isInitialFrameSrcLoad is true), so with site isolation's additional IPC 
overhead,
the test would finish before the second alert fired.

Fixed the test by adding 0s delay before calling pass so that the pending 
javascript:
URL execution task time to fire first.

* LayoutTests/fast/shadow-dom/shadow-at-root-during-disconnect.html:
* LayoutTests/platform/ios-site-isolation/TestExpectations:
* LayoutTests/platform/mac-site-isolation/TestExpectations:

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



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

Reply via email to