Re: [heycam/webidl] A non-optional dictionary argument makes sense at times. (#130)

> It means that MutationObserver.prototype.observe.length is 2 instead of 1

Ah, indeed.

For what it's worth, I _can_ see a world in which having a non-optional dictionary affects .length but does not affect the argc check, effectively treating it as optional for all purposes except .length calculation.  That is in fact what I proposed for the "any" type in https://lists.w3.org/Archives/Public/public-script-coord/2014JanMar/0176.html and is a sensible thing to do.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/130#issuecomment-243125348

Received on Monday, 29 August 2016 13:35:53 UTC