2 <script src=
"../../resources/js-test.js"></script>
6 description("Tests the constructor of the standard drag event");
9 shouldNotThrow("testEvent = new DragEvent('dragstart')");
10 shouldBe("testEvent.__proto__", "DragEvent.prototype");
11 shouldBe("testEvent.dataTransfer", "null");
13 shouldNotThrow("testEvent = new DragEvent('dragstart', { dataTransfer:null })");
14 shouldBe("testEvent.__proto__", "DragEvent.prototype");
15 shouldBe("testEvent.dataTransfer", "null");