diff --git a/actors/DotTooltipListenerChild.sys.mjs b/actors/DotTooltipListenerChild.sys.mjs index cfd642f619..ab2a7c98a8 100644 --- a/actors/DotTooltipListenerChild.sys.mjs +++ b/actors/DotTooltipListenerChild.sys.mjs @@ -186,6 +186,8 @@ export class DotTooltipListenerChild extends JSWindowActorChild { * @param {Event} event */ getEventTarget(event) { + if (!event) return; + const { target } = event; const composedTarget = /** @type {any} */ (event).composedTarget;