5 window
.testRunner
.dumpAsText();
7 function eventHandlerOne(event
)
9 if (event
.stopImmediatePropagation
)
10 event
.stopImmediatePropagation();
12 event
.stopPropagation();
15 function eventHandlerTwo(event
)
17 document
.getElementById('result').innerHTML
= 'FAIL';
21 <body onload=
"document.forms[0].reset()">
22 <div id=
"result">PASS
</div>
25 document
.forms
[0].addEventListener("reset", eventHandlerOne
, true);
26 document
.forms
[0].addEventListener("reset", eventHandlerTwo
, true);