[whatwg/dom] Can the `options` argument to `EventTarget::addEventListener` be omitted? (#726)

The [interface `EventTarget`](https://dom.spec.whatwg.org/#interface-eventtarget) specifes the `options` argument to its `addEventListener` method as `optional (AddEventListenerOptions or boolean) options` , which I take as meaning the argument may be omitted.

However, the [actual procedure for how `addEventListener` shall behave](dom-eventtarget-addeventlistener), further down the same document, does not appear to specify how to treat the case of omitted `options` argument.

Is this by design -- implementations are free to behave in a manner they find suitable with regard to omitting the argument, or is this an oversight in the publication?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/726

Received on Sunday, 16 December 2018 20:18:39 UTC