tenfourfox/dom/datastore/tests/file_basic_worker.js
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

20 lines
296 B
JavaScript

function is(a, b, msg) {
postMessage((a === b ? 'OK' : 'KO') + ' ' + msg)
}
function ok(a, msg) {
postMessage((a ? 'OK' : 'KO')+ ' ' + msg)
}
function cbError() {
postMessage('KO error');
}
function finish() {
postMessage('DONE');
}
importScripts("file_basic_common.js");
runTest();