Event-returnValue.html

PASSExpected7 of 7 subtests pass354 ms

Details

Test
/dom/events/Event-returnValue.html
Harness
OK

Subtests

StatusSubtestMessage
PASSWhen an event is created, returnValue should be initialized to true.
PASSpreventDefault() should not change returnValue if cancelable is false.
PASSreturnValue=false should have no effect if cancelable is false.
PASSpreventDefault() should change returnValue if cancelable is true.
PASSreturnValue should change returnValue if cancelable is true.
PASSinitEvent should unset returnValue.
PASSreturnValue=true should have no effect once the canceled flag was set.