Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / control-detach-crash.html
blobea4f694feaac01babab3504e6eac2e4d3a7a0147
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script>
5 // We had an assertion failure in FormController::unregisterFormElementWithState.
6 if (window.testRunner)
7 testRunner.dumpAsText();
8 var d = document.createElement('div');
9 var s = document.createElement('script');
10 s.textContent = 'document.currentScript.parentNode.remove();';
11 d.appendChild(s);
12 d.appendChild(document.createElement('input'));
13 document.body.appendChild(d);
14 document.body.innerHTML = 'PASS';
15 </script>
16 </body>
17 </html>