-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow window.open to open in a new process when using TiledCoreAnimat…
…ionDrawingArea https://bugs.webkit.org/show_bug.cgi?id=260059 rdar://111064288 Reviewed by J Pascoe. When using TiledCoreAnimationDrawingArea and after a cross-site window.open, we have a WebPage that has only RemoteFrames, which would use RemoteLayerTreeDrawingArea in most cases except pre-Sonoma macOS and 2-core CPUs. This WebPage only exists to hold RemoteFrames to proxy messages back and forth, so it doesn't need to draw. We just want it to not crash. Add a null check and an early return in updateRendering like we do when layerTreeStateIsFrozen returns true. Covered by the API test SiteIsolation.BasicPostMessageWindowOpen on pre-Sonoma macOS. * Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml: * Source/WebKit/UIProcess/mac/WebViewImpl.mm: (WebKit::WebViewImpl::WebViewImpl): * Source/WebKit/WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::hasRootFrames): * Source/WebKit/WebProcess/WebPage/WebPage.h: * Source/WebKit/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm: (WebKit::TiledCoreAnimationDrawingArea::updateRendering): Canonical link: https://commits.webkit.org/266823@main
- Loading branch information
1 parent
6f57d24
commit 93d1a99
Showing
5 changed files
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters