W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2015

Re: Imperative API for Node Distribution in Shadow DOM (Revisited)

From: Domenic Denicola <d@domenic.me>
Date: Thu, 30 Apr 2015 12:44:25 +0000
To: Anne van Kesteren <annevk@annevk.nl>
CC: Ryosuke Niwa <rniwa@apple.com>, Justin Fagnani <justinfagnani@google.com>, WebApps WG <public-webapps@w3.org>, Erik Bryn <erik@erikbryn.com>, "Dimitri Glazkov" <dglazkov@google.com>, Edward O'Connor <eoconnor@apple.com>, "Steve Orvell" <sorvell@google.com>
Message-ID: <1430397863854.68510@domenic.me>
From: Anne van Kesteren <annevk@annevk.nl>

>  var x = new Event(eventType)
>  someNodeThatIsDistributed.addEventListener(eventType, e => console.log(e.path))
>  someNodeThatIsDistributed.dispatchEvent(ev);

Can you explain in a bit more detail why this causes interop problems? What browsers would give different results for this code? What would those results be?
Received on Thursday, 30 April 2015 12:44:55 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:31 UTC