DescriptionFix SubResourceFilter to work with PlzNavigate.
There are two main fixes:
-use the new NavigationHandle callbacks on WebContentsObserver which are compatible with PlzNavigate
-update the renderer side so that handles the new order of IPCs: while ReadyToCommitNavigation means the browser side can send its IPC before the internal content ones, with PlzNavigate one content IPC will fire both DidStartProvisionalLoad & DidCommitProvisionalLoad. So add extra logic to the renderer side to handle this.
This fixes
SubresourceFilterBrowserTest.MainFrameActivation
SubresourceFilterBrowserTest.MainFrameActivationOnStartup
SubresourceFilterBrowserTest.SubFrameActivation
with PlzNavigate.
BUG=504347, 653807
Committed: https://crrev.com/8ab445a553266b0b6b6f4eaa6976c6f8e2b4a7b6
Cr-Commit-Position: refs/heads/master@{#427085}
Patch Set 1 #Patch Set 2 : fix unit tests #
Total comments: 2
Messages
Total messages: 28 (18 generated)
|