Re: [IndexedDB] Null argument for optionalParameters?

On 06/26/2012 07:15 PM, Boris Zbarsky wrote:
> On 6/26/12 12:59 PM, Joshua Bell wrote:
>> All that said, this seems like a common pattern. Is there something in
>> WebIDL I'm not seeing that implies this behavior for dictionaries
>> already?
>
> No, but there have definitely been proposals (from me and Jonas at
> least) that WebIDL treat null, undefined, not passed, and {} as exactly
> identical for optional dictionary arguments...

This was fixed yesterday over in bug 16725; [1] see the spec. [2]

HTH
Ms2ger

[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=16725
[2] http://dev.w3.org/2006/webapi/WebIDL/#es-dictionary

Received on Tuesday, 26 June 2012 17:21:41 UTC