Chromium Code Reviews
DescriptionFix bug with data:urls and PlzNavigate on Android.
data urls always go to the browser on Android so that the application has a chance to handle them (see rr143228). With PlzNavigate, this has already happened for navigation requests so there's no need to send them again to the browser (and it triggers unhandled codepaths if that happens).
This fixes:
org.chromium.content.browser.InterstitialPageTest#testCloseInterstitial
InterstitialPageImplTest.Paste
InterstitialPageImplTest.Cut
DevToolsProtocolTest.InterstitialShownOnAttach
InterstitialPageImplTest.SelectAll
DevToolsProtocolTest.ShowCertificateViewer
InterstitialPageImplTest.Copy
SitePerProcessBrowserTest.NavigateOpenerWithInterstitial
org.chromium.android_webview.test.SafeBrowsingTest#testSafeBrowsingBackToSafetyShowsNetworkErrorForMaliciousSubresource with {--webview-sandboxed-renderer}
org.chromium.android_webview.test.SafeBrowsingTest#testSafeBrowsingBackToSafetyShowsNetworkErrorForMaliciousSubresource
org.chromium.android_webview.test.SafeBrowsingTest#testSafeBrowsingMaliciousSubresourceShowsInterstitial
org.chromium.android_webview.test.SafeBrowsingTest#testSafeBrowsingBackToSafetyShowsNetworkError with {--webview-sandboxed-renderer}
org.chromium.android_webview.test.SafeBrowsingTest#testSafeBrowsingShowsInterstitialForMalware with {--webview-sandboxed-renderer}
org.chromium.android_webview.test.SafeBrowsingTest#testSafeBrowsingCanProceedThroughInterstitial
org.chromium.android_webview.test.SafeBrowsingTest#testSafeBrowsingShowsInterstitialForMalware
org.chromium.android_webview.test.SafeBrowsingTest#testSafeBrowsingMaliciousSubresourceShowsInterstitial with {--webview-sandboxed-renderer}
org.chromium.android_webview.test.SafeBrowsingTest#testSafeBrowsingBackToSafetyShowsNetworkError
org.chromium.android_webview.test.LoadDataWithBaseUrlTest#testloadDataWithBaseUrlCallsOnPageStarted
org.chromium.android_webview.test.AwContentsClientShouldInterceptRequestTest#testNotCalledForExistingContentUrl with {--webview-sandboxed-renderer}
BUG=673806
Review-Url: https://codereview.chromium.org/2729103005
Cr-Commit-Position: refs/heads/master@{#454883}
Committed: https://chromium.googlesource.com/chromium/src/+/4ff77a6cf88f3a5d793eabb02bd62d61f8dd4b1f
Patch Set 1 : with PlzNavigate #Patch Set 2 : without PlzNavigate #
Total comments: 2
Patch Set 3 : remove unnecessary checkForBrowserSideNavigation, with PlzNavigate #Patch Set 4 : without PlzNavigate #Messages
Total messages: 20 (14 generated)
|