5 testRunner
.dumpAsText();
8 for (i
= 0; i
!= 500; ++i
)
11 document
.getElementById("a").innerHTML
= inputs
;
12 document
.getElementById("b").innerHTML
= inputs
;
13 document
.getElementById("a").innerHTML
= "";
14 document
.getElementById("c").innerHTML
= inputs
;
16 document
.getElementById("a").innerHTML
= "";
17 document
.getElementById("b").innerHTML
= "";
18 document
.getElementById("c").innerHTML
= "";
20 document
.getElementById("a").innerHTML
= inputs
;
21 document
.getElementById("b").innerHTML
= inputs
;
22 document
.getElementById("a").innerHTML
= "";
23 document
.getElementById("c").innerHTML
= inputs
;
25 document
.getElementById("a").innerHTML
= "";
26 document
.getElementById("b").innerHTML
= "";
27 document
.getElementById("c").innerHTML
= "";
29 document
.getElementById("a").innerHTML
= inputs
;
30 document
.getElementById("b").innerHTML
= inputs
;
31 document
.getElementById("a").innerHTML
= "";
32 document
.getElementById("c").innerHTML
= inputs
;
34 document
.getElementById("complete").innerHTML
= "The test was run. If it failed you would have seen an assertion failure or crash. "
35 + "In some cases the crash won't occur until you move on to the next page.";
36 document
.getElementById("b").innerHTML
= "";
37 document
.getElementById("c").innerHTML
= "";
42 <body onload=
"test()">
44 <p>This adds and removes lots of input elements, to test the behavior of ListHashSet when it has more elements than will fit in its pool.
</p>
46 <p id=
"complete">IF YOU CAN SEE THIS, THE TEST DID NOT RUN.
</p>
48 <div id=
"a"></div><div id=
"b"></div><div id=
"c"></div>