2 <script src=
"../../resources/js-test.js"></script>
4 <script type=
"text/javascript">
5 description('Test that wheel events should be dispatched and catched in the EventListener.');
7 var target
= document
.getElementById("target");
8 var wheelevent
= new WheelEvent("wheelevent");
10 target
.addEventListener("wheelevent", function() {
12 debug("Wheelevent recevied");
14 target
.dispatchEvent(wheelevent
);
16 shouldBeTrue("recevied");