mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
Bug 1663984: Show browsing url if the page is not initial page when reverting from search mode. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D91099
This commit is contained in:
parent
07446d052b
commit
2311a08191
@ -608,8 +608,9 @@ class UrlbarInput {
|
||||
|
||||
handleRevert() {
|
||||
this.window.gBrowser.userTypedValue = null;
|
||||
this.setURI(null, true);
|
||||
// Nullify search mode before setURI so it won't try to restore it.
|
||||
this.setSearchMode({});
|
||||
this.setURI(null, true);
|
||||
if (this.value && this.focused) {
|
||||
this.select();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user