Summary

Harness status: OK

Found 7 tests

Details

ResultTest NameMessage
PassWhen an event is created, returnValue should be initialized to true.
Asserts run
Pass
assert_true(true, "returnValue")
    at Test.<anonymous> ( /dom/events/Event-returnValue.html:17:3)
PasspreventDefault() should not change returnValue if cancelable is false.
Asserts run
Pass
assert_false(false, "cancelable (before)")
    at Test.<anonymous> ( /dom/events/Event-returnValue.html:21:3)
Pass
assert_false(false, "cancelable (after)")
    at Test.<anonymous> ( /dom/events/Event-returnValue.html:23:3)
Pass
assert_true(true, "returnValue")
    at Test.<anonymous> ( /dom/events/Event-returnValue.html:24:3)
PassreturnValue=false should have no effect if cancelable is false.
Asserts run
Pass
assert_false(false, "cancelable (before)")
    at Test.<anonymous> ( /dom/events/Event-returnValue.html:28:3)
Pass
assert_false(false, "cancelable (after)")
    at Test.<anonymous> ( /dom/events/Event-returnValue.html:30:3)
Pass
assert_true(true, "returnValue")
    at Test.<anonymous> ( /dom/events/Event-returnValue.html:31:3)
PasspreventDefault() should change returnValue if cancelable is true.
Asserts run
Pass
assert_true(true, "cancelable (before)")
    at Test.<anonymous> ( /dom/events/Event-returnValue.html:35:3)
Pass
assert_true(true, "cancelable (after)")
    at Test.<anonymous> ( /dom/events/Event-returnValue.html:37:3)
Pass
assert_false(false, "returnValue")
    at Test.<anonymous> ( /dom/events/Event-returnValue.html:38:3)
PassreturnValue should change returnValue if cancelable is true.
Asserts run
Pass
assert_true(true, "cancelable (before)")
    at Test.<anonymous> ( /dom/events/Event-returnValue.html:42:3)
Pass
assert_true(true, "cancelable (after)")
    at Test.<anonymous> ( /dom/events/Event-returnValue.html:44:3)
Pass
assert_false(false, "returnValue")
    at Test.<anonymous> ( /dom/events/Event-returnValue.html:45:3)
PassinitEvent should unset returnValue.
Asserts run
Pass
assert_true(true, "bubbles")
    at Test.<anonymous> ( /dom/events/Event-returnValue.html:51:3)
Pass
assert_true(true, "cancelable")
    at Test.<anonymous> ( /dom/events/Event-returnValue.html:52:3)
Pass
assert_true(true, "returnValue")
    at Test.<anonymous> ( /dom/events/Event-returnValue.html:53:3)
PassreturnValue=true should have no effect once the canceled flag was set.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /dom/events/Event-returnValue.html:59:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /dom/events/Event-returnValue.html:60:3)