W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: [XHR2] Disable new response types for sync XHR in Window context

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 16 Nov 2011 16:47:56 +0100
To: "Jonas Sicking" <jonas@sicking.cc>
Cc: "Webapps WG" <public-webapps@w3.org>, "Olli Pettay" <Olli.Pettay@helsinki.fi>, "olli@pettay.fi" <olli@pettay.fi>
Message-ID: <op.v41p56o864w2qv@annevk-macbookpro.local>
On Tue, 15 Nov 2011 20:33:38 +0100, Jonas Sicking <jonas@sicking.cc> wrote:
> So if I understand the proposal correctly:
> After .open has been called with async=false:
> * setting .responseType to anything other than "" throws  
> InvalidAccessError
> * setting .wirthCredentials to true throws InvalidAccessError
> Additionally, when calling .open with async=false, throw
> InvalidAccessError if .responseType is set to anything other than ""
> or .withCredentials is true.

I implemented this in the specification, limited to XMLHttpRequest objects  
that have an associated XMLHttpRequest document. (So it still works in a  
Worker context.)



> If that's the proposal, then this sounds good to me.

Yes, though I missed withCredentials.

Anne van Kesteren
Received on Wednesday, 16 November 2011 15:48:41 UTC

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