Contact emails
dtap...@chromium.org, rby...@chromium.org
Spec
https://dom.spec.whatwg.org/#interface-eventtarget
Minor change to an existing API I don't think it requires a TAG review.
Summary
Add the ability to set different options when adding/removing event listeners via add a dictionary to addEventListener, removeEventListener API.
ie: add addEventListener(DOMString, EventListener, EventListenerOptions);
removeEventListener(DOMString, EventListener, EventListenerOptions);
Link to “Intent to Implement” blink-dev discussion
https://groups.google.com/a/chromium.org/d/msg/blink-dev/nyo08pwJcfQ/meb49q1yCQAJ
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Interoperability and Compatibility Risk
Low interoperability and compatibility risk.
The only perceived compatibility risk is the different interpretation when the third argument is an empty object. This was discussed in the spec review and we've added metrics (I don't know why AddEventListenerThirdArgumentsObject doesn't appear on the external page)
https://www.chromestatus.com/metrics/feature/popularity#RemoveEventListenerThirdArgumentIsObject
But nonetheless looking at the internal numbers; Add and Remove with the third argument as an object both have really low usage (generally showing 0.00%). (The data was started tracking in M48.)
OWP launch tracking bug
Entry on the feature dashboard
lgtmTWO
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
Can we at least wait for the counters to bake on the stable channel for a release?