2 <body onload="onload()">
3 This tests that an onload handler named 'onload' is called properly.
4 You should see "PASS" below.
6 <div id='result'>FAIL: this text should be replaced on success.<div>
9 testRunner.dumpAsText();
11 var result = document.getElementById('result');
12 result.innerHTML='PASS: onload function gets called.';