shouldOverrideUrlLoading() not getting called with redirects in WebView
Reported by
m...@jungroup.com,
May 11 2016
|
|||||||
Issue descriptionSteps to reproduce the problem: 1. In WebChromeClient inside onCreateWindow() callback I create a new WebView and set a WebViewClient that overrides shouldOverrideUrlLoading(). I noticed that on devices with latest WebView version, shouldOverrideUrlLoading() doesn't get called on redirects but when testing with a device on (4.3 os), shouldOverrideUrlLoading() gets called in redirects. 2. 3. What is the expected behavior? What went wrong? In WebChromeClient inside onCreateWindow() callback I create a new WebView and set a WebViewClient that overrides shouldOverrideUrlLoading(). I noticed that on devices with latest WebView version, shouldOverrideUrlLoading() doesn't get called on redirects but when testing with a device on (4.3 os), shouldOverrideUrlLoading() gets called in redirects. Did this work before? Yes Half a year ago but not sure on which WebVIew version. It was working on a Nexus 7 before but not it doesn't work. Chrome version: 50.0.2661.86 Channel: n/a OS Version: 5.1.1 Flash Version:
,
May 11 2016
shouldOverrideUrlLoading() not getting called with redirects when being used in new WebView inside onCreateWindow for newer WebView versions.
,
May 20 2016
,
May 25 2016
this is actually the case unfortunately. It was previously discussed in crbug/508384. The fix is interestingly non-trivial, and the proper fix spans blink and content layers and impacts behavior of large number of apps. Our attempt to fix was reverted twice due to various failures. I am going to make this blocked by the mother bug rather than merging to it. This way we can properly test it once the fix lands.
,
May 26 2017
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
May 26 2017
,
Jun 19 2018
Throwing this back into WebView's bugcop queue - I'm no longer on WebView.
,
Jun 22 2018
See related bugs in issue 855733 |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 Deleted