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)

task

Tracking

(Not tracked)

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.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.