Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 95e54d2321b88287cb91b7d1f3efa7fbdd0752a2
      
https://github.com/WebKit/WebKit/commit/95e54d2321b88287cb91b7d1f3efa7fbdd0752a2
  Author: Ryosuke Niwa <rn...@webkit.org>
  Date:   2025-04-21 (Mon, 21 Apr 2025)

  Changed paths:
    M Source/WebKit/UIProcess/WebPageProxy.cpp

  Log Message:
  -----------
  Safari shows beforeunload prompt after navigation when PSON is in effect
https://bugs.webkit.org/show_bug.cgi?id=291802
rdar://125343187

Reviewed by Per Arne Vollan.

Ignore beforeunload prompt when the requesting process is no longer associated 
with the frame.
This will prevent the prompt to be shown for the previous document after a PSON 
navigation.

Unfortunately no new tests since this condition is racy and I can't make a 
reliable test case.

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::runBeforeUnloadConfirmPanel):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to