зеркало из https://github.com/mozilla/gecko-dev.git
bba185434e
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 |
||
---|---|---|
.. | ||
android | ||
locales |