Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / dragevent-constructor.html
blobaf99b666550ae3d63d6ef06445210bb521aae1b3
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 </head>
4 <body>
5 <script>
6 description("Tests the constructor of the standard drag event");
8 var testEvent;
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");
16 </script>