Amati
Amati

Reputation: 1532

Chrome XMLHttpRequest reference

Is there any documentation for the current Chrome implementation of XMLHttpRequest similar to this: https://developer.mozilla.org/en/XMLHttpRequest

I couldn't find anything on Chrome's dev site and I'd appreciate if anyone can tell me the differences between FF 3.6 and Chrome 8 XHR implementations.

Upvotes: 9

Views: 6665

Answers (3)

Robert Siemer
Robert Siemer

Reputation: 34667

Apart from the mozdev website you mention, the best know reference for Chrome’s XMLHttpRequest implementation is actually the standard (draft). Both cover things like responseType way better than any other source I’ve seen.

Upvotes: 1

bzlm
bzlm

Reputation: 9727

The Mozilla Developer Network documentation on XMLHTTPRequest has a browser compatibility chart which details the specifics of Chrome's implementation.

For example, the chart shows that the comment about timeout on an answer to this question is invalid since Chrome 29.

And since MDN has even more specific details for Gecko, it's easy to see how the XMLHTTPRequest implementations differ between Firefox and Chrome.

Upvotes: 4

Amati
Amati

Reputation: 1532

It seems that this is the closest thing to API reference that exists for Chrome/WebKit: http://developer.apple.com/library/safari/#documentation/AppleApplications/Conceptual/SafariJSProgTopics/Articles/XHR.html

It's far from the quality of Mozilla's docs but I guess that's better than nothing.

Upvotes: 4

Related Questions