- From: Boris Zbarsky <bzbarsky@mit.edu>
- Date: Fri, 6 Nov 2015 16:38:33 -0500
- To: public-webapps@w3.org
On 11/6/15 3:44 PM, Olli Pettay wrote: > You need to override addEventListener on EventTarget, and also relevant > onfoo EventHandler setters on Window and Document and *Element prototypes Are we trying to just do this best-effort, or reliably? Because this: var ifr = document.createElement("iframe"); document.body.appendChild(ifr); ifr.contentWindow.EventTarget.prototype.addEventListener.call(myNode, whatever); is obviously hard to handle without serious effort... -Boris
Received on Friday, 6 November 2015 21:39:04 UTC