summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorBenjamin Gruenbaum <benjamingr@gmail.com>2020-11-26 23:27:55 +0200
committerGitHub <noreply@github.com>2020-11-26 22:27:55 +0100
commit4f46dc999b9fd3f26b6586d06d099d7039ca35c8 (patch)
tree360a41d113fed4cfe90158205ee9b96d992daf8e /cli/tests
parente84704968e92638fae02c6ec2d629158dab3f25f (diff)
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".
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/034_onload.out4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/034_onload.out b/cli/tests/034_onload.out
index c9556e991..9b1f454c9 100644
--- a/cli/tests/034_onload.out
+++ b/cli/tests/034_onload.out
@@ -1,11 +1,11 @@
log from nest_imported script
log from imported script
log from main
-got load event in onload function
got load event in event handler (nest_imported)
got load event in event handler (imported)
got load event in event handler (main)
-got unload event in onunload function
+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