]> git.gir.st - VimFx.git/commit
fix hints mode on about:addons and about:preferences in nightly 70
authorgirst <girst@users.noreply.github.com>
Tue, 20 Aug 2019 17:38:10 +0000 (19:38 +0200)
committergirst <girst@users.noreply.github.com>
Tue, 20 Aug 2019 17:59:56 +0000 (19:59 +0200)
commitf3c945f1548f101afc12e6e91e134979ec3a3219
treed68ee21e4c86a6908d8a9727e1d5fdab57866cb6
parent74669920c824d403818040f4834bd4d163749f3d
fix hints mode on about:addons and about:preferences in nightly 70

In Bug 1550801, all XUL documents were loaded as HTMLDocuments, which
caused the isXULDocument test to fail. The new test is modeled after a
snippet from devtools/.

This change caused hints mode to break in about:preferences and
about:addons, since (some of?) the de-XBL'd custom elements' <label>s
return the id (as string) when reading theLabelElement.control on a
label instead of an HTMLElement. VimFx passes this value to a function
that assumes the value has a .getClientRects() method.

Only these two pages were affected, since these are the only in-content
pages (other than about:downloads) in Firefox 70 that still have a .xul
document at the root.
extension/lib/utils.coffee
Imprint / Impressum