EventListenerOptions API was added in https://www.chromestatus.com/features/5718574840676352 The spec was revised to add AddEventListenerOptions which is a dictionary only for addEventListener(...) so that fields could be added that did not make up the matching key. This change is to move the add the AddEventListenerOptions dictionary definition, change the API and move the 'passive' field from EventListenerOptions to AddEventListenerOptions
Docs: https://github.com/WICG/EventListenerOptions/issues/27 Relevant spec changes: https://github.com/whatwg/dom/commit/e002d7811533e276c9927b237748c4e170f4cb10 https://github.com/whatwg/dom/commit/a13a3c7fc14732691b50c51316b16de0915a61f2