New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 797857 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 794020
Owner: ----
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

webview's back-forward-list doesn't work properly

Reported by ch.enkhb...@gmail.com, Dec 28 2017

Issue description

Steps to reproduce the problem:
Recently my Webview based Android application doesn't work properly.

The complaint is that when they press the back button on the device, It should go back to a previous webview url.

But It goes back to a url which is like the user pressed back button twice.

So When I took a look at logs

@Override
public void onBackPressed() {
    WebBackForwardList URL = webView.copyBackForwardList();
    for(int i = 0;i < URL.getSize(); i++){
        Log.d("URL list : " + i, URL.getItemAtIndex(i).getUrl());
    }
}
And with a simulator, It shows all the list of URL that I've entered.

Which is working properly

D/URL list : 0: //https://www.blabla.com/ //First webview
D/URL list : 1: //https://www.blabla.com/catalog/category/view/id/999/ //Second webview
D/URL list : 2: //https://www.blabla.com/brand/bla.html //Third webview
D/URL list : 3: //https://www.blabla.com/44444444.html //Fourth webview
But with a real device like Samsung Galaxy S6, The third and first Urls are missing.

URL list : 0: //https://www.blabla.com/catalog/category/view/id/999/ //Second webview
URL list : 1: //https://www.blabla.com/44444444.html //Fourth webview
It used to work fine several weeks ago.

What is the expected behavior?

What went wrong?
my Android device has Chrome version 63.0.3239.111 installed

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 63.0.3239.111  Channel: n/a
OS Version: 7.0
Flash Version:
 
Labels: Needs-triage-Mobile
Cc: sandeepkumars@chromium.org
Components: Mobile>WebView
Labels: WV-Triaged Needs-Feedback
@ch.enkhbayar07: Thanks for the report!!

Could you please attach a sample app or .apk file and also help us with the details of your device and if possible attach a screencast as well, that would help us in triaging the issue.

Thanks!!


Comment 3 by torne@chromium.org, Jan 2 2018

Mergedinto: 794020
Status: Duplicate (was: Unconfirmed)
Thanks for your supports!!

I have tested chrome beta version 64.0.3282.29, there is no problem. 

When will version 64 release?

Sign in to add a comment