mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-11-20 10:33:36 +00:00
18 lines
479 B
HTML
18 lines
479 B
HTML
<!DOCTYPE html>
|
|
<script>
|
|
var context = "Window";
|
|
function ok(a, msg) {
|
|
parent.postMessage({type: 'status', status: !!a,
|
|
msg: a + ": " + msg, context: context}, "*");
|
|
}
|
|
|
|
function is(a, b, msg) {
|
|
parent.postMessage({type: 'status', status: a === b,
|
|
msg: a + " === " + b + ": " + msg, context: context}, "*");
|
|
}
|
|
|
|
function testDone() {
|
|
parent.postMessage({type: 'finish', context: context}, "*");
|
|
}
|
|
</script>
|