diff --git a/dom/events/Event-defaultPrevented.html b/dom/events/Event-defaultPrevented.html index f0230085bfad65..2548fa3e064bb1 100644 --- a/dom/events/Event-defaultPrevented.html +++ b/dom/events/Event-defaultPrevented.html @@ -40,6 +40,7 @@ assert_equals(ev.defaultPrevented, true, "defaultPrevented"); }, "preventDefault() should change defaultPrevented if cancelable is true."); test(function() { + ev.initEvent("foo", true, true); assert_equals(ev.cancelable, true, "cancelable (before)"); ev.returnValue = false; assert_equals(ev.cancelable, true, "cancelable (after)");