Re: Possible compat problem with treating undefined as not passed in WebIDL

On Thu, Oct 3, 2013 at 2:03 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 10/3/13 2:25 PM, Joshua Bell wrote:
>>
>> Having an optional boolean argument default to "true" seems like poor JS
>> API design for this reason.
>
> Agreed.

We could always try to get data on how common passing 'undefined' as
third argument is and see if it's uncommon enough that we can phase it
out (with warnings and whatnot at first).

But like others, XHR has been around for long enough, and is commonly
used enough, that is seems unlikely that we can change anything here.

/ Jonas

Received on Friday, 4 October 2013 05:57:17 UTC