Open
Bug 2012838
Opened 4 days ago
Updated 2 days ago
Customize panel data-eventSource attributes use incorrect camelCase format
Categories
(Firefox :: New Tab Page, defect)
Firefox
New Tab Page
Tracking
()
ASSIGNED
People
(Reporter: maxx, Assigned: maxx)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The ContentSection component uses camelCase for data attributes (data-eventSource) which doesn't work correctly in HTML. These attributes are case-insensitive, so data-eventSource becomes data-eventsource in the DOM.
When we try to access e.target.dataset.eventSource, it fails because the actual property is dataset.eventsource.
This breaks event source tracking for all customize panel toggles including:
- WEATHER
- TOP_SITES
- TOP_STORIES
- INFERRED_PERSONALIZATION
- WIDGET_LISTS
- WIDGET_TIMER
| Assignee | ||
Updated•4 days ago
|
| Assignee | ||
Comment 1•2 days ago
|
||
Updated•2 days ago
|
Assignee: nobody → mcrawford
Status: NEW → ASSIGNED
You need to log in
before you can comment on or make changes to this bug.
Description
•