mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-10-10 13:23:42 +00:00
20 lines
386 B
HTML
20 lines
386 B
HTML
|
<!DOCTYPE HTML>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>Test app for bug 1178233</title>
|
||
|
<script type='application/javascript;version=1.7'>
|
||
|
|
||
|
function onLoad() {
|
||
|
fetch("get-sw-version").then(function(r) {
|
||
|
return r.text();
|
||
|
}).then(function(body) {
|
||
|
parent.postMessage({status: "callback", data: body}, "*");
|
||
|
});
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload='onLoad()'>
|
||
|
</body>
|
||
|
</html>
|