Thanks Thomas. I'll see if I can find some time to contribute, I'll dig 
some more.

On Tuesday, September 25, 2012 1:27:51 AM UTC-7, Thomas Broyer wrote:
>
>
> On Tuesday, September 25, 2012 5:35:02 AM UTC+2, Brandon Donnelson wrote:
>>
>> Does anybody know if XMLHttpRequest2 is in or slated for 2.5?
>
>
> It depends what you mean by XMLHttpRequest2. responseType is here (was in 
> RC1 already but was broken), with the ability to get the response as an 
> ArrayBuffer, but that's it: no progress events, no send() overload for 
> typed arrays, no withCredentials, etc. That being said, apart from progress 
> events, everything can be accomplished really easily with JSNI (progress 
> events too, we're using them in a project at work when uploading files).
> I think the main problem is to provide a way to detect which features are 
> available; it's easy for responseType='arraybuffer' because you can just 
> test whether typed arrays are supported (all browsers supported by GWT 
> implement either both or none), it's a bit less straightforward for other 
> features.
> For those in a controlled environment (our app only supports Firefox, so 
> we didn't bother checking for feature availability), it's best to resort to 
> JSNI: if you know what you're doing, well, do it, you know what you're 
> doing anyway.
>
> However, as always: patches welcome!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/NsvrQBcy1gUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to