Pergunta

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?

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top