mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-10 11:54:40 +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();
|