summaryrefslogtreecommitdiffstats
path: root/dom/xhr/tests/xhr_implicit_cancel_worker.js
blob: 2045452caa176b73d96ef9555f229d3ef3bc1489 (plain)
1
2
3
4
5
6
7
8
9
10
/**
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/
 */
var xhr = new XMLHttpRequest();
xhr.open("GET", "worker_testXHR.txt");
xhr.send(null);
xhr.open("GET", "worker_testXHR.txt");
xhr.send(null);
postMessage("done");