Re: [whatwg/dom] Why is the second parameter to MutationObserver.observe() optional? (#332)

Per IDL you cannot have mandatory dictionaries as final argument. They are treated identically to {}. That is a little weird if the dictionary ends up being effectively required as is the case here, but marking it mandatory doesn't really help us since we still have to handle the {} case anyway.

See https://github.com/heycam/webidl/issues/130 for more discussion.

-- 
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/332#issuecomment-249116296

Received on Friday, 23 September 2016 06:52:37 UTC