mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-11-20 10:33:36 +00:00
20 lines
296 B
JavaScript
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();
|