DescriptionDomita supports window.addEventListener('load')
but doesn't do anything with window.onload.
This adds support for window.onload.
It's not exactly identical to browser handling
of window.onload, because the order of
running onload handlers is different.
Browsers act as if setting window.onload were a
call to removeEventListener then addEventListener,
and all the onload handlers get run in the order
they were registered. I didn't see a reason to
add all the code necessary to duplicate that order.
Patch Set 1 #
MessagesTotal messages: 3
|
||||||||||||||||||||||||||||