开发者

Chrome XMLHttpRequest reference

开发者 https://www.devze.com 2023-02-05 08:00 出处:网络
Is there any documentation for the current Chrome implementation of XMLHttpRequest similar to this: https://developer.mozilla.org/en/XMLHttpRequest

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.


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.


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消