- From: Anne van Kesteren <notifications@github.com>
- Date: Thu, 17 Dec 2015 03:33:50 -0800
- To: whatwg/dom <dom@noreply.github.com>
Received on Thursday, 17 December 2015 11:34:18 UTC
> @@ -1057,6 +1096,25 @@ invoked, must run these steps: > <li><p><a>Dispatch</a> the <var>event</var> and return the value that returns. > </ol> > > +<h3 id=observing-event-listeners>Observing event listeners</h3> > +In general, developers do not expect the presence of an <a>event listener</a> to be > +observable. The impact of an <a>event listener</a> is determined by its <b>callback</b>. > +That is, a developer adding a no-op <a>event listener</a> would not expect it to have > +any side effects. > + > +Unfortunately, some event APIs have been designed such that implementing them > +efficiently requires observing <a>event listeners</a>. For example, sensor APIs which > +enable an underlying device sensor, and touch APIs which can be used to block Yeah maybe. I must be something since I thought we had a very clear observable case to go from and therefore observing even more for this passive stuff was okay... --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/82/files#r47895829
Received on Thursday, 17 December 2015 11:34:18 UTC