tenfourfox/dom/workers/test/serviceworkers/app2/version.html

20 lines
386 B
HTML
Raw Normal View History

2017-04-19 07:56:45 +00:00
<!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>