| testRunner.waitUntilDone(); |
| return GCController.collect(); |
| for (var i = 0; i < 10000; ++i) |
| var s = new String("foo"); |
| function resetFormOwner() { |
| var form = document.createElement('form'); |
| document.body.appendChild(form); |
| document.body.innerHTML += 'PASS'; |
| var div = document.createElement('div'); |
| var input = document.createElement('input'); |
| input.setAttribute('form', 'foo'); |
| setTimeout(resetFormOwner, 0); |
| <p>Checks dangling form associated elements doesn't cause crash. WebKit should not crash when this page is loaded.</p> |