gecko/dom/workers/test/xhr_implicit_cancel_worker.js

11 lines
262 B
JavaScript
Raw Normal View History

/**
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
*/
var xhr = new XMLHttpRequest();
xhr.open("GET", "testXHR.txt");
xhr.send(null);
xhr.open("GET", "testXHR.txt");
xhr.send(null);
postMessage("done");