mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-22 12:23:08 +09:00
21 lines
336 B
JavaScript
21 lines
336 B
JavaScript
importScripts('common_temporaryFileBlob.js');
|
|
|
|
function info(msg) {
|
|
postMessage({type: 'info', msg: msg});
|
|
}
|
|
|
|
function ok(a, msg) {
|
|
postMessage({type: 'check', what: !!a, msg: msg});
|
|
}
|
|
|
|
function is(a, b, msg) {
|
|
ok(a === b, msg);
|
|
}
|
|
|
|
function next() {
|
|
postMessage({type: 'finish'});
|
|
}
|
|
|
|
onmessage = function(e) {
|
|
test_basic();
|
|
}
|