5 testRunner
.dumpAsText();
8 var oldEvent
= window
.event
;
9 var xhr
= new XMLHttpRequest();
10 xhr
.onreadystatechange = function() {}
11 xhr
.open("GET", "test.html");
13 // window.event should exist, and same as oldEvent.
14 document
.getElementById('console').innerHTML
= oldEvent
== window
.event
? 'PASS' : 'FAIL';
17 <body onload=
"run_test()">
18 This tests window.event was kept the same when nested event
19 handling was called. You should see 'PASS' if the test passes.
21 <div id='console'
></div>