Summary

Harness status: OK

Found 16 tests

Details

ResultTest NameMessage
Passwindow.DragEvent should be exposed
Asserts run
Pass
assert_own_property(object "[object Window]", "DragEvent")
    at Test.<anonymous> ( /html/editing/dnd/synthetic/001.html:12:3)
PassDragEvent should have all of the inherited init*Event methods
Asserts run
Pass
assert_false(false, "initDragEvent")
    at Test.<anonymous> ( /html/editing/dnd/synthetic/001.html:16:3)
Pass
assert_true(true, "initMouseEvent")
    at Test.<anonymous> ( /html/editing/dnd/synthetic/001.html:17:3)
Pass
assert_true(true, "initUIEvent")
    at Test.<anonymous> ( /html/editing/dnd/synthetic/001.html:18:3)
Pass
assert_true(true, "initEvent")
    at Test.<anonymous> ( /html/editing/dnd/synthetic/001.html:19:3)
PassinitMouseEvent should not throw
Asserts runNo asserts ran
PassinitUIEvent should not throw
Asserts runNo asserts ran
PassinitEvent should not throw
Asserts runNo asserts ran
PassDragEvent constructor with null as the dataTransfer parameter should be able to fire the event
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/editing/dnd/synthetic/001.html:41:3)
PassDragEvent constructor with undefined as the dataTransfer parameter should be able to fire the event
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/editing/dnd/synthetic/001.html:47:3)
PassDragEvent constructor with custom object as the dataTransfer parameter should throw TypeError
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     var evt = new DragEvent('dragstart', {dataTransfer:{}});   }")
    at Test.<anonymous> ( /html/editing/dnd/synthetic/001.html:50:3)
PassinitMouseEvent should be able to fire the event
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/editing/dnd/synthetic/001.html:59:3)
PassinitUIEvent should be able to fire the event
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/editing/dnd/synthetic/001.html:66:3)
PassinitEvent should be able to fire the event
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/editing/dnd/synthetic/001.html:73:3)
PassDragEvent constructor with null as the dataTransfer parameter should give null as the dataTransfer
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/editing/dnd/synthetic/001.html:80:3)
PassDragEvent constructor with undefined as the dataTransfer parameter should give null as the dataTransfer
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/editing/dnd/synthetic/001.html:86:3)
PassinitMouseEvent should give null as the dataTransfer
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/editing/dnd/synthetic/001.html:93:3)
PassinitUIEvent should give null as the dataTransfer
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/editing/dnd/synthetic/001.html:100:3)
PassinitEvent should give null as the dataTransfer
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/editing/dnd/synthetic/001.html:107:3)