views:

106

answers:

2

I would like to understand the low level details of how XMLHttpRequest works in Javascript, however I have not had any luck finding the implementation code within either the Rhino or V8 code. I'm not familiar with the code in either projects, so I may not be looking in the right spots.

Is there an available open-source implementation anywhere?

A: 

Here is a lot of information for you: https://developer.mozilla.org/en/xmlhttprequest

mplungjan
+1  A: 

If I'm not mistaken, in the Mozilla source code this is handled by nsXMLHttpRequest.cpp.

Marcel Korpel