+1

For Devtools nsIEventListenerInfo need to be updated.



  On 07/20/2016 03:53 PM, Xidorn Quan wrote:
Summary:

"once" is a new option for EventTarget.addEventListener (as a member of
AddEventListenerOptions dictionary), which means that the added listener
should only be invoked once. It is something libraries like jQuery have
been providing for years. And it would make writing certain type of
tests much easier.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1287706

Link to standard:
https://dom.spec.whatwg.org/#dom-addeventlisteneroptions-once

Platform coverage: all

Estimated or target release: Firefox 50 or 51

Preference behind which this will be implemented: no pref. It is a small
feature which I don't think needs a pref.

DevTools bug: Not filed yet. DevTools may want to display whether an
event listener is a once listener.


- Xidorn



_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to