Closed
Bug 1747929
Opened 3 years ago
Closed 3 years ago
UrlbarSearchUtils.enginesForDomainPrefix() can include the same engine more than once when matchAllDomainLevels = true (partial matching)
Categories
(Firefox :: Address Bar, defect, P3)
Firefox
Address Bar
Tracking
()
RESOLVED
FIXED
97 Branch
People
(Reporter: adw, Assigned: adw)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
If UrlbarSearchUtils.enginesForDomainPrefix() is called with matchAllDomainLevels set, then a single engine can end up more than once in the list of returned matching engines.
I found this while working on bug 1744367.
| Assignee | ||
Comment 1•3 years ago
|
||
- Don't include partially matching engines that are already in the perfectly
matching list - Add a test for this and the
matchAllDomainLevelscase in general since we
don't have one AFAICT - The test file name ends in jsm, so change it to js
| Assignee | ||
Comment 2•3 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ca42b190bcdd2a856796ebb3639c3e8f44dcbcb3
I'll go ahead and mark this as a regression since before bug 1668939 this function would not have returned duplicate engines.
Updated•3 years ago
|
Has Regression Range: --- → yes
Comment 3•3 years ago
|
||
Set release status flags based on info from the regressing bug 1668939
status-firefox95:
--- → affected
status-firefox96:
--- → affected
status-firefox97:
--- → affected
status-firefox-esr91:
--- → affected
Pushed by dwillcoxon@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6f8d0a814b2e
Modify UrlbarSearchUtils.enginesForDomainPrefix() so it does not include the same engine more than once when matchAllDomainLevels = true. r=harry
Comment 5•3 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
Comment 6•3 years ago
|
||
The patch landed in nightly and beta is affected.
:adw, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.
For more information, please visit auto_nag documentation.
Flags: needinfo?(adw)
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
Flags: qe-verify-
Flags: needinfo?(adw)
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•