Tests: Update XMLHttpRequest.
Compat: Fix variable name leaking to global namespace.