Summary

Harness status: OK

Found 8 tests

Details

ResultTest NameMessage
PasscancelBubble must be false when an event is initially created.
Asserts run
Pass
assert_false(false, "cancelBubble must be false after event creation.")
    at Test.<anonymous> ( /dom/events/Event-cancelBubble.html:22:3)
PassInitializing an event must set cancelBubble to false.
Asserts run
Pass
assert_false(false, "initEvent() must set cancelBubble to false. [bubbles=true]")
    at Test.<anonymous> ( /dom/events/Event-cancelBubble.html:32:3)
Pass
assert_false(false, "2nd initEvent() call must set cancelBubble to false. [bubbles=true]")
    at Test.<anonymous> ( /dom/events/Event-cancelBubble.html:36:3)
Pass
assert_false(false, "initEvent() must set cancelBubble to false. [bubbles=false]")
    at Test.<anonymous> ( /dom/events/Event-cancelBubble.html:42:3)
Pass
assert_false(false, "2nd initEvent() call must set cancelBubble to false. [bubbles=false]")
    at Test.<anonymous> ( /dom/events/Event-cancelBubble.html:46:3)
PassstopPropagation() must set cancelBubble to true.
Asserts run
Pass
assert_true(true, "stopPropagation() must set cancelBubble to true.")
    at Test.<anonymous> ( /dom/events/Event-cancelBubble.html:53:3)
PassstopImmediatePropagation() must set cancelBubble to true.
Asserts run
Pass
assert_true(true, "stopImmediatePropagation() must set cancelBubble to true.")
    at Test.<anonymous> ( /dom/events/Event-cancelBubble.html:60:3)
PassEvent.cancelBubble=false must have no effect.
Asserts run
Pass
assert_true(true, "cancelBubble must still be true after attempting to set it to false.")
    at Test.<anonymous> ( /dom/events/Event-cancelBubble.html:67:3)
PassEvent.cancelBubble=false must have no effect during event propagation.
Asserts runNo asserts ran
PasscancelBubble must be false after an event has been dispatched.
Asserts run
Pass
assert_false(false, "cancelBubble must be false after an event has been dispatched.")
    at Test.<anonymous> ( /dom/events/Event-cancelBubble.html:98:3)
PassEvent.cancelBubble=true must set the stop propagation flag.
Asserts runNo asserts ran