2.1.2 [W3C-DOM4] Section 3.6 Interface EventTarget
V0006: When dispatchEvent is passed a null value it throws an InvalidArgument error
The specification states:
-
3.6 Interface EventTarget ... interface EventTarget { ... boolean dispatchEvent(Event event); };
All document modes (All versions)
When dispatchEvent
is passed a
null value it throws an InvalidArgument
error
instead of TypeError
.