| OLD | NEW |
| 1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
| 2 Found 17 tests. 16 PASS 1 FAIL 0 TIMEOUT 0 NOTRUN |
| 2 PASS window.DragEvent should be exposed | 3 PASS window.DragEvent should be exposed |
| 3 FAIL createEvent should not be able to create a DragEvent assert_throws: functio
n "function () { | 4 FAIL createEvent should not be able to create a DragEvent assert_throws: functio
n "function () { |
| 4 var evt = document.createEvent('DragEvent'); | 5 var evt = document.createEvent('DragEvent'); |
| 5 }" did not throw | 6 }" did not throw |
| 6 PASS DragEvent should have all of the inherited init*Event methods | 7 PASS DragEvent should have all of the inherited init*Event methods |
| 7 PASS initMouseEvent should not throw | 8 PASS initMouseEvent should not throw |
| 8 PASS initUIEvent should not throw | 9 PASS initUIEvent should not throw |
| 9 PASS initEvent should not throw | 10 PASS initEvent should not throw |
| 10 PASS DragEvent constructor with null as the dataTransfer parameter should be abl
e to fire the event | 11 PASS DragEvent constructor with null as the dataTransfer parameter should be abl
e to fire the event |
| 11 PASS DragEvent constructor with undefined as the dataTransfer parameter should b
e able to fire the event | 12 PASS DragEvent constructor with undefined as the dataTransfer parameter should b
e able to fire the event |
| 12 PASS DragEvent constructor with custom object as the dataTransfer parameter shou
ld throw TypeError | 13 PASS DragEvent constructor with custom object as the dataTransfer parameter shou
ld throw TypeError |
| 13 PASS initMouseEvent should be able to fire the event | 14 PASS initMouseEvent should be able to fire the event |
| 14 PASS initUIEvent should be able to fire the event | 15 PASS initUIEvent should be able to fire the event |
| 15 PASS initEvent should be able to fire the event | 16 PASS initEvent should be able to fire the event |
| 16 PASS DragEvent constructor with null as the dataTransfer parameter should give n
ull as the dataTransfer | 17 PASS DragEvent constructor with null as the dataTransfer parameter should give n
ull as the dataTransfer |
| 17 PASS DragEvent constructor with undefined as the dataTransfer parameter should g
ive null as the dataTransfer | 18 PASS DragEvent constructor with undefined as the dataTransfer parameter should g
ive null as the dataTransfer |
| 18 PASS initMouseEvent should give null as the dataTransfer | 19 PASS initMouseEvent should give null as the dataTransfer |
| 19 PASS initUIEvent should give null as the dataTransfer | 20 PASS initUIEvent should give null as the dataTransfer |
| 20 PASS initEvent should give null as the dataTransfer | 21 PASS initEvent should give null as the dataTransfer |
| 21 Harness: the test ran to completion. | 22 Harness: the test ran to completion. |
| 22 | 23 |
| OLD | NEW |