This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
TextDecoder IDL has: DOMString decode(); DOMString decode(ArrayBufferView input, optional TextDecodeOptions options); ISTM this could be written as: DOMString decode(optional ArrayBufferView input, optional TextDecodeOptions options); ... which matches the description in the Note anyway.
Ah yeah, I think we could not do this because dictionaries screwed that up, but that is probably fixed now.
I don't see how dictionaries would have screwed this up. Having both arguments optional should work.
Originally optional dictionary meant that the argument before could not be optional. We fixed that, but I never updated this. https://github.com/whatwg/encoding/commit/6e531368f1a34755f5ba067e53f4d8b194e37bf1