Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8f184a1bee4b3815392bd9ee1e7ca8ad0ab88836
      
https://github.com/WebKit/WebKit/commit/8f184a1bee4b3815392bd9ee1e7ca8ad0ab88836
  Author: Jeffrey Xu <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M 
Source/WebKit/UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp

  Log Message:
  -----------
  Fix crash on WPE caused by process swap on cross-origin iframe in Site 
Isolation due to entering compositing mode twice.
rdar://183650308
https://bugs.webkit.org/show_bug.cgi?id=320671

Reviewed by Carlos Garcia Campos.

New processes for iframes in site isolation will be expected to call 
enterAcceleratedCompositingMode twice on the same drawing area, so this assert 
is no longer expected to be valid.

No new tests. Layout tests can't use more than two domains, so they can't 
trigger a process swap on a remote cross-origin iframe yet. API tests can proxy 
multiple domains, but they aren't run on WPE. 
https://github.com/WebKit/WebKit/pull/70156 adds a process swap on reload after 
requesting storage access, which will allow testing this more easily. (That 
commit includes a layout test that crashes on WPE without this change and 
passes with it.)

* 
Source/WebKit/UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp:
(WebKit::DrawingAreaProxyCoordinatedGraphics::enterAcceleratedCompositingMode):

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



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

Reply via email to