abort.testresult.html (820B)
1 <!DOCTYPE html> 2 <html> 3 <body> 4 <h4> 5 Test Description: 6 The abort event fires when the loading of a resource has been aborted. 7 </h4> 8 9 <h3><a id="link" href="abort.img.html">Click here to go back to the test page</a></h3> 10 11 <p>Test passes if the word "PASS" appears below.</p> 12 <div>Test result: </div> 13 <div id='testresult'> 14 <script> 15 try 16 { 17 var result = window.localStorage.getItem("TestResult"); 18 } 19 catch(ex) 20 { 21 } 22 if ("PASS" != result) 23 { 24 result = "FAIL"; 25 } 26 document.write(result); 27 </script> 28 </div> 29 </body> 30 </html>