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