1 <body onload = "test()"> 2 <p>Test that accessing a detached iframe's applicationCache window property doesn't assert. If you don't see an assert, it passed.</p> 3 <iframe src="about:blank"></iframe> 4 <script> 5 if (window.layoutTestController) 6 layoutTestController.dumpAsText(); 7 8 function test() 9 { 10 var ifr = frames[0]; 11 document.body.removeChild(document.getElementsByTagName("iframe")[0]); 12 ifr.applicationCache; 13 } 14 </script> 15 </body> 16