Re: [XHR2] new XMLHttpRequest(anon)

On Wed, 17 Feb 2010 01:58:34 +0100, Maciej Stachowiak <mjs@apple.com>  
wrote:
> 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
http://annevankesteren.nl/

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