mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
Bug 1524377 - In QuantumBar, don't affect the search url when checking to see if we need to canonize the result. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D18262 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
35e59fd61b
commit
91c1df13da
@ -331,9 +331,10 @@ class UrlbarInput {
|
||||
return;
|
||||
}
|
||||
case UrlbarUtils.RESULT_TYPE.SEARCH: {
|
||||
url = this._maybeCanonizeURL(event,
|
||||
let canonizedUrl = this._maybeCanonizeURL(event,
|
||||
result.payload.suggestion || result.payload.query);
|
||||
if (url) {
|
||||
if (canonizedUrl) {
|
||||
url = canonizedUrl;
|
||||
break;
|
||||
}
|
||||
const actionDetails = {
|
||||
|
Loading…
Reference in New Issue
Block a user