Closed
Bug 1983984
Opened 8 months ago
Closed 8 months ago
Dynamic UrlbarView rows can end up with "undefined" in their CSS classes
Categories
(Firefox :: Address Bar, defect, P3)
Firefox
Address Bar
Tracking
()
RESOLVED
FIXED
144 Branch
People
(Reporter: adw, Assigned: adw)
References
Details
(Whiteboard: [sng])
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
I was debugging some CSS for market suggestions and found that the view can end up setting CSS classes called urlbarView-dynamic-${dynamicType}-undefined on elements in dynamic rows. It happens here when the childTemplate object doesn't have a name. The jsdoc says that name is required, but that's not enforced anywhere, so it's easy to miss, and I don't think it actually needs to be required at all.
This doesn't have any noticeable effects AFAICT -- seems to be harmless.
Updated•8 months ago
|
| Assignee | ||
Comment 1•8 months ago
|
||
Pushed by dwillcoxon@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/095a0bd92a87
https://hg.mozilla.org/integration/autoland/rev/12f186d30498
Let `name` be optional on urlbar dynamic view templates. r=daisuke
Comment 3•8 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
status-firefox144:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
| Assignee | ||
Comment 4•8 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D261680
Updated•8 months ago
|
Attachment #9508287 -
Flags: approval-mozilla-beta?
Comment 5•8 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined: This is required for the "carrots" realtime-suggestions Suggest feature in 143.
- Code covered by automated testing: yes
- Fix verified in Nightly: no
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: none
- Risk associated with taking this patch: low
- Explanation of risk level: This isn't a user-visible change and is just a fix for harmless logical error.
- String changes made/needed: none
- Is Android affected?: no
Updated•8 months ago
|
Attachment #9508287 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•8 months ago
|
status-firefox143:
--- → fixed
Updated•8 months ago
|
QA Whiteboard: [search] [qa-triage-done-c144/b143]
You need to log in
before you can comment on or make changes to this bug.
Description
•