Sorry for the cross-post, but thought this list to be a better audience:
A web page link that opens its target page in a new popup window does
not trigger the FF popup blocker when the link is clicked interactively
with the mouse. Standard behavior.
But the FF popup blocker will trigger if that same click event is
dispatched from a (priviledged) chrome FF extension. Is there a way to
prevent triggering the FF popup blocker for an injected click event so
the simulated behavior is the same?
This is how I'm dispatching the event:
evt.initMouseEvent('click', true, true,
domNode.ownerDocument.defaultView,
detail, screenX, screenY, clientX, clientY,
ctrlKey, altKey, shiftKey, metaKey, button, null);
domNode.dispatchEvent(evt);
Would changing the 3rd param (owner document) or the last param (null)
make any difference?
_______________________________________________
dev-security mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-security