4 <script src=
"../resources/js-test.js"></script>
8 var mouseEvent
= document
.createEvent("MouseEvent");
9 shouldBeDefined("mouseEvent.movementX");
10 shouldBeDefined("mouseEvent.movementY");
12 // initializers are passed.
13 shouldBe("new MouseEvent('eventType', { movementX: 888, movementY: 999 }).movementX", "888");
14 shouldBe("new MouseEvent('eventType', { movementX: 888, movementY: 999 }).movementY", "999");