WebView retains visited link list in memory until app is closed
Reopening an issue for #322 (Also see #828). Mostly to track the Chromium bug here too: https://bugs.chromium.org/p/chromium/issues/detail?id=709627
just came to report that google was remembering search history even when browsing history was erased... perhaps this is the same bug?
- go to google.com
- search something
- erase browsing history from notification or trashcan icon
- go back to google.com
- notice that when you start to type the same search it is guessed straight away and highlighted purple.
I have noticied that this seems to happen less if you leave the app for a while and then use the notification to erase. The problem does not seem to exist after swiping focus away from recents (am using MIUI though so I think that swiping recents might do a litttle more in terms of maybe FC'ing and cache-clearing than default android... not sure). Have noticed that the search terms are preserved even when changing IP with vpn!
Waiting for fix in WebView (no steps to be taken from our end)
Last comment in the bug:
Passing this to the pool of available bugs. This is probably a good API to add. Unfortunately, I don't think we have bandwidth to add such an API for P.
So either:
- We fix it ourselves. :) This assumes the WebView support library is released soon though.
- We wait to at least Android U, which is a ways off.
- We come up with a work-around (currently #1600? there are a few open issues)
just came to report that google was remembering search history even when browsing history was erased... perhaps this is the same bug?
@phunkular This was fixed in #1306 and should be released.
We wait to at least Android U, which is a ways off.
Why not Q? 😝
We come up with a work-around (currently #1600? there are a few open issues)
There's no known workaround for the root problem. Anyhow this issue is for explicitly tracking an upstream fix (-> 'blocked' label). If we have ideas for workarounds then let's file separate issues.
We fix it ourselves. :) This assumes the WebView support library is released soon though.
Any guesses on timeline?
Any guesses on timeline?
The first mention I see is a mailing list post on May 18 and they mention it in the bug we're tracking here, latest on Nov 21 (so presumably it's still in development) but no indication on when it'd be complete.
However, from the bug:
No, we cannot add APIs straight into the support library, they must first become android.webkit APIs. We have no definite plans to add an API for this.
Passing this to the pool of available bugs. This is probably a good API to add. Unfortunately, I don't think we have bandwidth to add such an API for P.
It sounds like this API must first land in their master branch and then it can be backported, via the support library. This means if we want this API to be added, we'll have to make a fix, wait for the next version of Android to be released, and have made the same fix into the support library (whenever that gets released).
fwiw, making changes to chromium code is not our expertise and it could be difficult (though from ahunt's initial analysis, it doesn't seem too bad!).
Why not Q? 😝
I guess I got "P-U" stuck in my head, lol.
This means if we want this API to be added, we'll have to make a fix, wait for the next version of Android to be released,
The Android releases are about yearly and O was just recently released so it'll be at least a year, assuming we (or they) make the fix by then.