mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
a255aa8f1c
--HG-- extra : transplant_source : %B3%0A%E7%17m%5C%A5%DF%F4%1A%90Z%CF%B7%E2Y%CA%1E%21w
13 lines
475 B
JavaScript
13 lines
475 B
JavaScript
function ok(a, msg) {
|
|
dump("OK: " + !!a + " => " + a + " " + msg + "\n");
|
|
postMessage({type: 'status', status: !!a, msg: a + ": " + msg });
|
|
}
|
|
|
|
onmessage = function() {
|
|
ok(typeof Headers === "function", "Headers should be defined");
|
|
ok(typeof Request === "function", "Request should be defined");
|
|
ok(typeof Response === "function", "Response should be defined");
|
|
ok(typeof fetch === "function", "fetch() should be defined");
|
|
postMessage({ type: 'finish' });
|
|
}
|