1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-29 02:29:06 -05:00
denoland-deno/cli/tests/034_onload.out
Benjamin Gruenbaum 4f46dc999b
fix: "onload" event order (#8376)
This commit fixes order of events for "onload" event. 

Previously handler attached using "window.onload" was
always fired before handlers added using "addEventListener".
2020-11-26 22:27:55 +01:00

11 lines
407 B
Text

log from nest_imported script
log from imported script
log from main
got load event in event handler (nest_imported)
got load event in event handler (imported)
got load event in event handler (main)
got load event in onload function
got unload event in event handler (nest_imported)
got unload event in event handler (imported)
got unload event in event handler (main)
got unload event in onunload function