tenfourfox/dom/datastore/tests/file_basic_worker.js

20 lines
296 B
JavaScript
Raw Normal View History

2017-04-19 07:56:45 +00:00
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();