mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
a24add821f
--HG-- extra : rebase_source : d87fd98d37ee45fb592a0fba764b099485df7cb3
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>
|