4 if (window
.testRunner
) {
5 testRunner
.dumpAsText();
6 testRunner
.waitUntilDone();
11 for (var i
= 0x30000; i
--; )
12 if (!(Math
.round(Math
.random() * 20)))
15 array
.push(new String(Math
.random()))
20 var element
= document
.createElement('input');
21 element
.setAttribute('form', 'form1');
22 var div
= document
.createElement('div');
23 div
.appendChild(element
);
24 element
.removeAttribute('form');
33 var form
= document
.createElement('form');
34 form
.setAttribute('id', 'form2');
35 document
.body
.appendChild(form
);
37 if (window
.testRunner
)
38 testRunner
.notifyDone();
42 <body onload=
"test()">
44 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.