Re: No arguments to XMLHttpRequest.send (ACTION-58)

Anne van Kesteren wrote:
> 
> On Fri, 03 Mar 2006 20:41:38 +0100, Jonas Sicking <jonas@sicking.cc> wrote:
> 
>> I think there is need for some perspective here. Mozilla isn't broken 
>> in  that .send doesn't work at all or that we in some cases have very 
>> broken  behaviour. We simply follow DOM convention and have all the 
>> parameters  to the function required even if they in some cases are 
>> not needed.
> 
> 
> I agree with Karl, Mark, others and myself that the specification 
> should  be relevant in the future as well. It's now stated that 
> implementations  MUST support send() to be invoked without arguments. 
> Specifically, the new  text is:
> 
>  <p>Invoking <code>send()</code> without the <var>data</var> argument MUST
>   give the same result as if it was invoked with <code>null</code> as
>   argument.</p>

I just don't see the point in doing this, and I thougth we had all 
agreed on SHOULD. However at this point the entire issue is getting 
slightly silly and turning into a waste of all of our time as there are 
more important issues.

I just hope that tutorials will still urge people to pass null even for 
methods that don't need it.

/ Jonas

Received on Sunday, 23 April 2006 22:54:08 UTC