tenfourfox/dom/workers/test/serviceworkers/updatefoundevent.html

14 lines
319 B
HTML
Raw Normal View History

2017-04-19 07:56:45 +00:00
<!DOCTYPE html>
<html>
<head>
<title>Bug 1131327 - Test ServiceWorkerRegistration.onupdatefound on ServiceWorker</title>
</head>
<body>
<script>
navigator.serviceWorker.onmessage = function(e) {
dump("NSM iframe got message " + e.data + "\n");
window.parent.postMessage(e.data, "*");
};
</script>
</body>