updatefoundevent.html (319B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>Bug 1131327 - Test ServiceWorkerRegistration.onupdatefound on ServiceWorker</title> 5 </head> 6 <body> 7 <script> 8 navigator.serviceWorker.onmessage = function(e) { 9 dump("NSM iframe got message " + e.data + "\n"); 10 window.parent.postMessage(e.data, "*"); 11 }; 12 </script> 13 </body>