Bug 1845381 Comment 5 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

These testcases show another difference between Firefox and Chrome, about how `dispatchEvent(new CustomEvent("..."))` is handled:
In Firefox, `dispatchEvent(new CustomEvent("end"))` calls `onend` IDL listeners but not `onend` attribute handlers.
In Chrome, `dispatchEvent(new CustomEvent("end"))` calls neither `onend` IDL listeners nor `onend` attribute handlers.
In Firefox, `dispatchEvent(new CustomEvent("endEvent"))` does not call `onend` IDL listeners, but calls `onend` attribute handlers.
In Chrome, `dispatchEvent(new CustomEvent("endEvent"))` calls both `onend` IDL listeners and `onend` attribute handlers.

Both browsers call both `onend` IDL listeners and `onend` attribute handlers for the native SMIL animation end event.

Neither browser supports `onendEvent` as an IDL property or an attribute handler name.
These testcases show another difference between Firefox and Chrome, about how `dispatchEvent(new CustomEvent("..."))` is treated:
In Firefox, `dispatchEvent(new CustomEvent("end"))` calls `onend` IDL listeners but not `onend` attribute handlers.
In Chrome, `dispatchEvent(new CustomEvent("end"))` calls neither `onend` IDL listeners nor `onend` attribute handlers.
In Firefox, `dispatchEvent(new CustomEvent("endEvent"))` does not call `onend` IDL listeners, but calls `onend` attribute handlers.
In Chrome, `dispatchEvent(new CustomEvent("endEvent"))` calls both `onend` IDL listeners and `onend` attribute handlers.

Both browsers call both `onend` IDL listeners and `onend` attribute handlers for the native SMIL animation end event.

Neither browser supports `onendEvent` as an IDL property or an attribute handler name.

Back to Bug 1845381 Comment 5