Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / past-names-crash.html
blob1e9fd1746b81cba3d9d9b646ce5e8a8b2a9bd544
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script src="../../resources/js-test.js"></script>
5 <div id="container">
6 <table>
7 <form id="form1">
8 <td>
9 <input name="q"/>
10 <script>
11 jsTestIsAsync = true;
12 var form1 = document.getElementById("form1");
13 var container = document.getElementById("container");
14 form1['q'];
15 container.innerHTML = '';
16 setTimeout(function() {
17 container.insertBefore(form1, null);
18 gc();
19 container.innerHTML = 'PASS if not crashed.';
20 finishJSTest();
21 }, 0);
22 </script>
23 </td>
24 </form>
25 </table>
26 </div>
27 </body>
28 </html>