Closed
Bug 2068166
Opened 24 days ago
Closed 23 days ago
Newtab searchbar results view doesn't open on mousedown when the searchbar is empty
Categories
(Firefox :: Address Bar, defect, P1)
Firefox
Address Bar
Tracking
()
VERIFIED
FIXED
157 Branch
| Tracking | Status | |
|---|---|---|
| firefox157 | --- | verified |
People
(Reporter: mbeier, Assigned: dao)
References
Details
(Whiteboard: [sng][mcab-hnt])
Attachments
(1 file)
STR:
- Enable
browser.urlbar.newtab.featureGate(enabled by default in nightly) - Open the newtab page and click the search bar (while the search bar is empty)
Expected:
Results view opens and shows recent searches and/or trending results
Actual:
Results view doesn't open.
Note: it opens when pressing arrow down.
| Reporter | ||
Updated•24 days ago
|
Severity: -- → S4
Priority: -- → P1
Updated•24 days ago
|
| Assignee | ||
Updated•24 days ago
|
Severity: S4 → S3
Summary: Newtab searchbar results view doesn't open on click when the searchbar is empty → Newtab searchbar results view doesn't open on mousedown when the searchbar is empty
| Assignee | ||
Updated•24 days ago
|
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•24 days ago
|
||
composedTarget is chrome-only, so it reads as undefined in the page's realm and the handler broke out before opening the view. The two reads differ only for a mousedown inside a descendant's shadow tree -- a moz-button -- which is neither of the nodes compared against, since composedTarget resolves the input's own anonymous content to the input itself.
This was leftover from the abandoned attempt to use shadow DOM in bug 1986130.
Pushed by dgottwald@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/5d8939058bae
https://hg.mozilla.org/integration/autoland/rev/c317c83e1401
Stop reading the chrome-only composedTarget when handling mousedown. r=mbeier
Comment 3•23 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 23 days ago
status-firefox157:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch
Updated•22 days ago
|
QA Whiteboard: [search][qa-triage-done-c157/b156][qa-ver-needed-c157/b156]
Reproducible on a 2026-09-01 Firefox Nightly build on Windows 10.
Verified as fixed on Firefox Nightly 157.0a1 on Windows 10, Ubuntu 22, macOS 13.
Status: RESOLVED → VERIFIED
QA Whiteboard: [search][qa-triage-done-c157/b156][qa-ver-needed-c157/b156] → [search][qa-triage-done-c157/b156][qa-ver-done-c157/b156]
You need to log in
before you can comment on or make changes to this bug.
Description
•