3 Test that click() on checkboxes is not slow.
<br><input type=checkbox id=cb
>
6 testRunner
.dumpAsText();
8 var starttime
= new Date().getTime();
9 var cb
= document
.getElementById('cb');
10 for (n
=0; n
<100; n
++) {
13 var endtime
= new Date().getTime() - starttime
14 document
.write("<br>" + (endtime
> 2000 ? "FAIL, took more than 2s to click() 100 times" : "PASS"));