3 <script src=
"../../resources/js-test.js"></script>
10 form1
= document
.createElement('form');
11 submit1
= document
.createElement('input');
12 submit1
.type
= 'submit';
13 form1
.addEventListener('submit', handleSubmit
, false);
14 form1
.action
= 'javascript:gc()';
15 form1
.appendChild(submit1
);
17 testPassed('if not crashed.');
21 function handleSubmit() {
22 form1
.removeChild(submit1
);
25 window
.onload
= start
;