1 <p>Test for (rdar://problem/
5725058). If you see this text, then all is well and no crash has occurred.
</p>
3 <p id=
"a"><a name=
"anchor">paragraph a
</a></p>
6 testRunner
.dumpAsText();
8 var list
= document
.getElementsByName("anchor");
12 // Remove the child node of paragraph A. Use innerHTML to avoid getting a reference to the node being removed.
13 document
.getElementById("a").innerHTML
= "";
15 // Now try the original list.