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

[XHR2] overrideMimeType in state UNSENT

From: Andrew Oakley <andrew@ado.is-a-geek.net>
Date: Wed, 09 Nov 2011 10:35:28 +0000
Message-ID: <4EBA5770.2090403@ado.is-a-geek.net>
To: WebApps WG <public-webapps@w3.org>
It seems fairly common to call overrideMimeType before open(), but
should throw an InvalidStateError according to current XHR2 editors draft.

If you search (Google) for overrideMimeType a significant number of
first page results show calling of overrideMimeType before the open
call, so I imagine this will become increasingly common as people
copy+paste.

I don't think this is a particularly problematic thing to allow so can
we please update the spec to allow this?

-- 
Andrew Oakley
Received on Wednesday, 9 November 2011 10:36:28 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:48 GMT