[webkit-changes] [WebKit/WebKit] 7dd61a: NavigationActionData.canHandleRequest should be pr...

youennf noreply at github.com
Wed Dec 14 01:46:32 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7dd61a61123d34df92aeb7f2cdd273c968318394
      https://github.com/WebKit/WebKit/commit/7dd61a61123d34df92aeb7f2cdd273c968318394
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm

  Log Message:
  -----------
  NavigationActionData.canHandleRequest should be preserved over process swap
https://bugs.webkit.org/show_bug.cgi?id=249212
rdar://103073405

Reviewed by Alex Christensen.

Make sure to keep the new canHandleRequest since it is tied to the new URL.
We should probably compute this value in UIProcess in the future.
Covered by API test.

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::decidePolicyForNavigationAction):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:

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




More information about the webkit-changes mailing list