| <p>Test that an image isn't accessible via form.property syntax after being removed from document.</p> |
| testRunner.waitUntilDone(); |
| return GCController.collect(); |
| for (var i = 0; i < 10000; i++) { // > force garbage collection (FF requires about 9K allocations before a collect) |
| var s = new String("abc"); |
| var f = document.getElementsByTagName("form")[0]; |
| f.removeChild(document.getElementsByTagName("img")[0]); |
| document.getElementsByTagName("div")[0].innerHTML = "FAIL"; |
| document.getElementsByTagName("div")[0].innerHTML = "PASS"; |