Bug 117073 - unbeforeunload event not firing
Summary: unbeforeunload event not firing
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 420+
Hardware: PC Windows 7
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-31 06:52 PDT by cesar
Modified: 2019-02-06 09:19 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cesar 2013-05-31 06:52:02 PDT
Want to check for unsaved data when the user leaved the page. I have the following code to fire the closeEvent

window.onbeforeunload = function (e)
        {
            closeDialog();
        }

closeDialog() never gets fired
Comment 1 Alexey Proskuryakov 2013-05-31 11:37:14 PDT
Could you please attach a complete test case?

Also, the bug says "Windows 7". Which browser are you using?
Comment 2 Alexey Proskuryakov 2013-07-18 17:18:30 PDT
No response, closing.
Comment 3 Lucas Forschler 2019-02-06 09:19:12 PST
Mass move bugs into the DOM component.