Bug 1873833 - Make tooltips work on anonymous content / UA widgets. r=smaug,Gijs
commitd7f36274047ee9e402eb4ee014d24dc848b8c7c3
authorEmilio Cobos Álvarez <emilio@crisal.io>
Wed, 13 Mar 2024 11:30:57 +0000 (13 11:30 +0000)
committerEmilio Cobos Álvarez <emilio@crisal.io>
Wed, 13 Mar 2024 11:30:57 +0000 (13 11:30 +0000)
tree7ab8f27d4cd7831e7205fe510c73de3660ed7c8c
parent18cbc7bb3bd7b0c5ac73aec918750cbdb1170852
Bug 1873833 - Make tooltips work on anonymous content / UA widgets. r=smaug,Gijs

We also simplify the tooltip text provider loop, and make it work better
now that e.g. the anonymous button in file inputs can be targeted.

Differential Revision: https://phabricator.services.mozilla.com/D203759
docshell/base/nsDocShellTreeOwner.cpp
layout/xul/nsXULTooltipListener.cpp
toolkit/components/tooltiptext/TooltipTextProvider.sys.mjs
toolkit/components/tooltiptext/tests/browser.toml
toolkit/components/tooltiptext/tests/browser_nac_tooltip.js [new file with mode: 0644]
toolkit/content/tests/chrome/window_tooltip.xhtml