4 if (window
.testRunner
) {
5 testRunner
.dumpAsText();
6 testRunner
.waitUntilDone();
11 if (window
.GCController
)
12 return GCController
.collect();
13 for (var i
= 0; i
< 10000; i
++)
14 var s
= new String("abc");
18 var element
= document
.createElement('input');
21 element
.setAttribute('form', 'form1');
22 document
.body
.appendChild(element
);
23 element
.attributes
.removeNamedItem('form');
28 document
.body
.removeChild(element
);
31 var form
= document
.createElement('form');
32 form
.setAttribute('id', 'form2');
33 document
.body
.appendChild(form
);
34 if (window
.testRunner
)
35 testRunner
.notifyDone();
39 <body onload=
"test()">
41 This page is a test case for
<a href=
"https://bugs.webkit.org/show_bug.cgi?id=51905">Bug
51905</a>. WebKit should not crash when this page is loaded.