2007-08-07 Mark Rowe <mrowe@apple.com>
[WebKit-https.git] / LayoutTests / fast / dom / NodeList / item-by-id-with-no-document.html
1 <title>Test case for Radar 4411663</title>
2 <script>
3 if (window.layoutTestController)
4     layoutTestController.dumpAsText();
5 var para = document.createElement("p");
6 for (var x = 0; x < 1000; x++) {
7     var newNode = document.createTextNode("asdf " + x);
8     para.appendChild(newNode);
9 }
10 var list = para.childNodes;
11 var bar = list["bar"];
12 </script>
13 <p>SUCCESS (you didn't crash)</p>