зеркало из https://github.com/mozilla/gecko-dev.git
11 строки
276 B
JavaScript
11 строки
276 B
JavaScript
|
/**
|
||
|
* 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");
|