var request = new XMLHttpRequest(); request.open("get", "http://example.com/browser/toolkit/modules/tests/browser/xhr_resource", false); request.send();