4 https://bugzilla.mozilla.org/show_bug.cgi?id=359657
7 <title>Test for Bug
359657</title>
8 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css" />
12 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=359657">Mozilla Bug
359657</a>
14 <div id=
"content" style=
"display: none">
18 <script class=
"testbody" type=
"text/javascript">
20 SimpleTest.waitForExplicitFinish();
22 /** Test for Bug
359657 **/
24 var span = document.createElement(
"span");
25 $(
"test").insertBefore(span, $(
"test").firstChild);
26 ok(true,
"Reachability, we should get here without crashing");
27 is($(
"test").firstChild, span,
"First child is correct");
32 <iframe src=
""></iframe>
33 <!-- Important: This test needs to run async at this point. The actual test
34 is not crashing while running this test! -->
35 <script type=
"text/javascript" src=
"data:text/javascript,runTest()"></script>