W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2010

Re: [XHR2] new XMLHttpRequest(anon)

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 17 Feb 2010 09:17:52 +0100
To: "Maciej Stachowiak" <mjs@apple.com>
Cc: "WebApps WG" <public-webapps@w3.org>
Message-ID: <op.u79in2to64w2qv@annevk-t60>
On Wed, 17 Feb 2010 01:58:34 +0100, Maciej Stachowiak <mjs@apple.com>  
> Does it also force the credentials flag to false? I assume the  
> combination of anon flag on and credentials flag on does not make sense.

Currently the credentials flag is false by default and cannot be changed  
by the author if the anonymous flag is true because withCredentials throws.

>> A. Remove withCredentials. The use case for this feature is now rather  
>> small and I still think it is rather ugly.
> withCredentials defaults to false. I think making it default to true is  
> probably too risky given deployed implementations. If we remove it and  
> leave it defaulting to false, then there would be no way to make a  
> request with user credentials.

What exactly would break if it defaults to true?

Anne van Kesteren
Received on Wednesday, 17 February 2010 08:18:25 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:22 UTC