gecko-dev/mobile
Jan Henning bba185434e Bug 1410629 - Clear user-entered search term already after location change. r=sebastian
This is to avoid a situation where after searching and then navigating to a different URL, the user can already see the new URL (after location change), but not yet edit it (currently, the search term is only dropped after pageshow).

Because location change is too early for checking the documentURI for the presence of an error page in case the load failed, we switch to checking the request's status instead.

We still have to explicitly check for "about:neterror" as well, though, since the way our intent handling code displays an error page in case of an unknown protocol technically counts as a successful pageload.

MozReview-Commit-ID: 8e6WQlD0sf3

--HG--
extra : rebase_source : fa80f45c2bc7b87934907e0386f8c26cd998eb04
2017-10-30 14:05:32 +01:00
..
android Bug 1410629 - Clear user-entered search term already after location change. r=sebastian 2017-10-30 14:05:32 +01:00
locales Bug 1365425 - [bn-BD] Add search engine setup for Firefox Mobile for Bengali (Bengladesh): Replace 'ddg' with 'duckduckgo' to fix bn-BD Fennec L10n nightly. r=nightly-fix a=nightly-fix 2017-10-29 22:56:44 +01:00