mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-07-11 06:29:02 +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>
|