Search code examples
javascriptxmlhttprequestv8rhino

Where can I find the XMLHttpRequest Implementation?


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?


Solution

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