Fix early prerender cancellation not working with PlzNavigate.
With PlzNavigate the navigation starts in the browser, so LaunchAppWithUrl cancels the prerender before we get the PrerenderHostMsg_AddLinkRelPrerender IPC from the renderer. Fix this by noticing that the prerender was already cancelled when the IPC arrives. This fixes PlatformAppUrlRedirectorBrowserTest.PrerenderedClickInTabIntercepted with PlzNavigate. BUG=504347 Review-Url: https://codereview.chromium.org/2554573012 Cr-Commit-Position: refs/heads/master@{#437633}
Showing
Please register or sign in to comment