Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / NodeList / 5725058-crash-scenario-3.html
blob2ad3e2dccf29a766e62139ccc6c6ef6212a394f0
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>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
8 var list = document.getElementsByName("anchor");
9 var x = list.length
10 x = list[0];
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.
16 x = list.length;
17 x = list[0];
18 </script>