3 <script type=
"text/javascript">
5 testRunner
.dumpAsText();
9 var a
= document
.getElementById('a');
10 var b
= document
.getElementById('b');
11 var r
= document
.getElementById('result');
12 document
.body
.appendChild(b
);
13 document
.body
.removeChild(a
);
14 var l
= b
.elements
.length
;
15 result
.innerText
= l
== 0 ? 'PASS' : 'FAIL: ' + l
;
19 <body onload=
"test()">
21 This tests for a regression against
22 <i><a href=
"https://bugs.webkit.org/show_bug.cgi?id=5926">https://bugs.webkit.org/show_bug.cgi?id=
5926</a>
23 Assertion failure in HTMLGenericFormElementImpl::removedFromTree
</i>.
27 Test result:
<span id=
"result">FAIL: didn't finish
</span>
32 <input type=
"submit" value=
"Log In">