Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / NodeList / item-by-id-with-no-document.html
blobe2ddfcf08b92a9fd8360e70bd6c521e8786e15ab
1 <title>Test case for Radar 4411663</title>
2 <script>
3 if (window.testRunner)
4 testRunner.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);
10 var list = para.childNodes;
11 var bar = list["bar"];
12 </script>
13 <p>SUCCESS (you didn't crash)</p>