Closed
Bug 1484644
Opened 6 years ago
Closed 6 years ago
Investigate whitelisting xul attribute tooltiptext in DOM overlays
Categories
(Core :: Internationalization, enhancement, P3)
Core
Internationalization
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: Pike, Assigned: masterkrombi)
References
Details
Attachments
(1 file)
We currently only allow tooltiptext on toolbarbutton.
But we use it on richlistitem, image, and button, at least, too.
Some picked up data-l10n-attrs to explicitly whitelist it, some apparently don't:
https://dxr.mozilla.org/mozilla-central/source/browser/components/preferences/in-content/sync.xul#79
https://dxr.mozilla.org/mozilla-central/source/browser/components/preferences/in-content/privacy.xul#328
Is this also something where we can bust tests if we strip attributes?
Reporter | ||
Comment 1•6 years ago
|
||
Looking at https://dxr.mozilla.org/mozilla-central/source/dom/webidl/XULElement.webidl#65, tooltiptext is defined on xul element, so we should probably add it to general?
Updated•6 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Assignee: gandalf → masterkrombi
Status: NEW → ASSIGNED
Comment 3•6 years ago
|
||
Can you also whitelist `title` on `window`?
Here are attributes we manually whitelist: https://searchfox.org/mozilla-central/search?q=data-l10n-attrs&path=
I think `style` should remain whitelisted per case, but title definitely can be added to the global whitelist.
Assignee | ||
Comment 4•6 years ago
|
||
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/67a3276d3b4e
Whitelist title and tooltiptext for XUL r=zbraniecki
Comment 6•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in
before you can comment on or make changes to this bug.
Description
•