1 <html manifest="crash-when-navigating-away-then-back.manifest"> 2 <script> 3 4 function cached() 5 { 6 window.close(); 7 window.opener.closedWindow(); 8 } 9 10 function noupdate() 11 { 12 window.opener.document.getElementById('result').innerHTML = 'SUCCESS'; 13 window.close(); 14 if (window.layoutTestController) 15 layoutTestController.notifyDone(); 16 } 17 18 applicationCache.addEventListener('cached', cached, false); 19 applicationCache.addEventListener('noupdate', noupdate, false); 20 21 </script> 22 </html> 23