1
0
Fork 0
firefox/dom/serviceworkers/test/updatefoundevent.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

13 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>