test_crash.html (770B)
1 <!DOCTYPE HTML> 2 <html> 3 <!-- 4 https://bugzilla.mozilla.org/show_bug.cgi?id=1343659 5 --> 6 <head> 7 <meta charset="utf-8"> 8 <title>Test Crash</title> 9 <script src="/tests/SimpleTest/SimpleTest.js"></script> 10 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> 11 <script type="application/javascript"> 12 const Cc = SpecialPowers.Cc; 13 const Ci = SpecialPowers.Ci; 14 let debug = Cc["@mozilla.org/xpcom/debug;1"].getService(Ci.nsIDebug2); 15 debug.abort("test_crash.html", 15); 16 ok(true, "Should pass"); 17 </script> 18 </head> 19 <body> 20 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1343659">Mozilla Bug 1343659</a> 21 <p id="display"></p> 22 <div id="content" style="display: none"> 23 24 </div> 25 <pre id="test"> 26 </pre> 27 </body> 28 </html>