Open
Bug 1585926
Opened 5 years ago
Updated 2 years ago
HTMLTooltip should throw when the provided document is not the toolbox document
Categories
(DevTools :: General, task, P3)
DevTools
General
Tracking
(Not tracked)
NEW
People
(Reporter: jdescottes, Unassigned)
References
Details
The HTML Tooltip expects to have access to the toolbox document. The toolbox document is a XUL document, which allows to create the XUL panel wrapper, needed to create tooltips that can expand outside of the toolbox's frame.
We should either enforce callers to pass a real toolbox document, and throw if provided with any other document. Or we should introduce a way to climb up to the toolbox document if the caller provided a subdocument.
Reporter | ||
Comment 1•5 years ago
|
||
The end goal should be to remove the _isXUL helper from the HTMLTooltip:
https://searchfox.org/mozilla-central/rev/35cc00a25c4471993fdaa5761952bd3afd4f1731/devtools/client/shared/widgets/tooltip/HTMLTooltip.js#992-994
and related code.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•