mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
20 lines
295 B
JavaScript
20 lines
295 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_sync_common.js");
|
|
|
|
runTest();
|