| Index: LayoutTests/fast/events/dragevent-constructor.html
|
| diff --git a/LayoutTests/fast/events/dragevent-constructor.html b/LayoutTests/fast/events/dragevent-constructor.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..af99b666550ae3d63d6ef06445210bb521aae1b3
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/events/dragevent-constructor.html
|
| @@ -0,0 +1,16 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/js-test.js"></script>
|
| +</head>
|
| +<body>
|
| +<script>
|
| +description("Tests the constructor of the standard drag event");
|
| +
|
| +var testEvent;
|
| +shouldNotThrow("testEvent = new DragEvent('dragstart')");
|
| +shouldBe("testEvent.__proto__", "DragEvent.prototype");
|
| +shouldBe("testEvent.dataTransfer", "null");
|
| +
|
| +shouldNotThrow("testEvent = new DragEvent('dragstart', { dataTransfer:null })");
|
| +shouldBe("testEvent.__proto__", "DragEvent.prototype");
|
| +shouldBe("testEvent.dataTransfer", "null");
|
| +</script>
|
|
|