Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebProcessPool::processForNavigation() should prevent the process from getting shut down while waiting for AddAllowedFirstPartyForCookies IPC reply #10603

Conversation

cdumez
Copy link
Contributor

@cdumez cdumez commented Feb 23, 2023

9e54e08

WebProcessPool::processForNavigation() should prevent the process from getting shut down while waiting for AddAllowedFirstPartyForCookies IPC reply
https://bugs.webkit.org/show_bug.cgi?id=252843
rdar://105375981

Reviewed by Alex Christensen.

ebProcessPool::processForNavigation() should prevent the process from getting
shut down (or added to the process cache) while waiting for
AddAllowedFirstPartyForCookies IPC reply.

We recently fixed the lambda in WebPageProxy::triggerBrowsingContextGroupSwitchForNavigation()
but failed to fix this one.

* Source/WebKit/UIProcess/WebProcessPool.cpp:
(WebKit::WebProcessPool::processForNavigation):

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

10276e7

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style   πŸ›  ios   πŸ›  mac   πŸ›  wpe   πŸ›  wincairo
  πŸ›  ios-sim   πŸ›  mac-AS-debug   πŸ›  gtk
βœ… πŸ§ͺ webkitperl   πŸ§ͺ ios-wk2   πŸ§ͺ api-mac   πŸ§ͺ gtk-wk2
  πŸ§ͺ api-ios   πŸ§ͺ mac-wk1   πŸ§ͺ api-gtk
βœ… πŸ›  tv   πŸ§ͺ mac-wk2
  πŸ›  tv-sim   πŸ§ͺ mac-AS-debug-wk2
  πŸ›  watch   πŸ§ͺ mac-wk2-stress
βœ… πŸ›  πŸ§ͺ merge βœ… πŸ›  watch-sim

@cdumez cdumez self-assigned this Feb 23, 2023
@cdumez cdumez added the WebKit2 Bugs relating to the WebKit2 API layer label Feb 23, 2023
@cdumez cdumez added the merge-queue Applied to send a pull request to merge-queue label Feb 23, 2023
…m getting shut down while waiting for AddAllowedFirstPartyForCookies IPC reply

https://bugs.webkit.org/show_bug.cgi?id=252843
rdar://105375981

Reviewed by Alex Christensen.

ebProcessPool::processForNavigation() should prevent the process from getting
shut down (or added to the process cache) while waiting for
AddAllowedFirstPartyForCookies IPC reply.

We recently fixed the lambda in WebPageProxy::triggerBrowsingContextGroupSwitchForNavigation()
but failed to fix this one.

* Source/WebKit/UIProcess/WebProcessPool.cpp:
(WebKit::WebProcessPool::processForNavigation):

Canonical link: https://commits.webkit.org/260754@main
@webkit-early-warning-system webkit-early-warning-system force-pushed the 252843_processForNavigation_preventShutdown branch from 10276e7 to 9e54e08 Compare February 23, 2023 19:19
@webkit-early-warning-system webkit-early-warning-system merged commit 9e54e08 into WebKit:main Feb 23, 2023
@webkit-commit-queue
Copy link
Collaborator

Committed 260754@main (9e54e08): https://commits.webkit.org/260754@main

Reviewed commits have been landed. Closing PR #10603 and removing active labels.

@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebKit2 Bugs relating to the WebKit2 API layer
Projects
None yet
4 participants