W3C home > Mailing lists > Public > public-webapi@w3.org > April 2006

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

From: Jonas Sicking <jonas@sicking.cc>
Date: Sun, 23 Apr 2006 15:54:03 -0700
Message-ID: <444C058B.7080205@sicking.cc>
To: Anne van Kesteren <annevk@opera.com>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:54 GMT