mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-10-08 09:58:07 +00:00
14 lines
319 B
HTML
14 lines
319 B
HTML
|
<!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>
|