blob: a98255388f75b1512e54680a5b7e9e90a538b198 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/**
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
*/
onmessage = function(event) {
postMessage({event: "XMLHttpRequest",
status: (new XMLHttpRequest() instanceof XMLHttpRequest),
last: false });
postMessage({event: "XMLHttpRequestUpload",
status: ((new XMLHttpRequest()).upload instanceof XMLHttpRequestUpload),
last: true });
}
|