]> git.gir.st - VimFx.git/commit
populate more data in contentAreaClick
authorgirst <girst@users.noreply.github.com>
Sun, 25 Feb 2024 15:14:49 +0000 (16:14 +0100)
committergirst <girst@users.noreply.github.com>
Fri, 8 Mar 2024 15:17:59 +0000 (16:17 +0100)
commitc49e8401c512704ef44af0b6708e5c5a3c0143a0
tree1c71a204abd1337a17877134abdb55041529a69f
parent74ba1b9df0da15efabeaeecee83929b81ab02d75
populate more data in contentAreaClick

Bug 1800149 introduced ClickHandlerParent.fillInClickEvent() which we
just inline. Previously, mozilla passed these params from the content
process, which could be a problem if the content process was compromised

Note that this code does not work with mozilla68 because
window.browsingContext was only introduced afterwards.

Further, for documentation:
* until mozilla110, isContentWindowPrivate was calculated differently:
  https://hg.mozilla.org/mozilla-central/rev/a868f954be08#l1.51
* frameID used to use the same code as frameOuterWindowID in <=fx110:
  WebNavigationFrames.getFrameId(window.document.defaultView)
extension/lib/utils.coffee
Imprint / Impressum