Correct, the preventDefault() is ignored from a passive listener, and
we will probably log a warning to the console (I have a patch up for
review that does that, let's see what smaug says).

On Fri, May 6, 2016 at 1:01 AM, Anne van Kesteren <ann...@annevk.nl> wrote:
> On Fri, May 6, 2016 at 4:43 AM, Eric Shepherd <esheph...@mozilla.com> wrote:
>> What happens if the developer specifies passive yet calls
>> preventDefault() anyway?
>
> That's a no-op per https://dom.spec.whatwg.org/#dom-event-preventdefault.
>
>
> --
> https://annevankesteren.nl/
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to