Bug 132674

Summary: [test-case] 'onunload' event not triggered / not executed upon closing window
Product: [Applications] konqueror Reporter: min <mihnea_capraru>
Component: kjsAssignee: Konqueror Bugs <konqueror-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal Keywords: triaged
Priority: NOR    
Version First Reported In: 4.0.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Testcase
Similar testcase

Description min 2006-08-20 07:26:30 UTC
Version:            (using KDE KDE 3.5.2)
Installed from:    Ubuntu Packages

When I close the window, Konqueror doesn't execute 'onunload' handlers, although they don't open new windows. This also happens regardless of popup blocking policy.

I attach two testcases, they are actually similar.

Note: this bug report is related to BR 98028, I'm only posting it separately because that report is about "not done after having pressed "reload" button nor typing an other URL", whereas this one is about closing the window.
Comment 1 min 2006-08-20 07:27:37 UTC
Created attachment 17424 [details]
Testcase
Comment 2 min 2006-08-20 07:29:55 UTC
Created attachment 17425 [details]
Similar testcase
Comment 3 Martin Fitzpatrick 2007-01-10 02:08:27 UTC
Confirmed KDE 3.5.5 / Kubuntu 6.10.

Event fires correctly when leaving for a different URL. Firefox fires event when leaving URL & when closing window.
Comment 4 Martin Fitzpatrick 2008-04-05 23:11:13 UTC
Confirmed KDE 4.0.3 / Kubuntu. No unload event fired when closing a window.
(* on the upside, this may stop those multiple popups)
Comment 5 Janek Bevendorff 2012-06-19 17:52:38 UTC
There hasn't been any activity on this issue for some time. Please check if this issue is still valid for Konqueror 4.8.4 or later and update the version field accordingly.
Thank you.
Comment 6 Andrew Crouthamel 2018-09-23 02:38:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Andrew Crouthamel 2018-10-27 03:35:41 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!