IE11 - onbeforeunload being called after IE closes

Not reproducible Issue #1649672


Feb 11, 2015
This issue is public.
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce


Repro Steps:

1.Open IE11 with an onbeforeunload event configured (the sample from reference is enough to reproduce this problem: another arbitrary tab
3.focus the tab opened at step 1
4.close this tab
-a confirmation from closure should appear
5.deny the closure of the tab
6.close the main IE window (I’ve used the close buton “x”)

the confirmation will appears after browser is closed. If positivelly confirmed at this point, IE will close successfully. Otherwise, IE will disapear but his processes will continue alive on Windows.

Sometimes, with some variation that I couldn’t determine from this scenary, denying the closure will make impossible for IE to be closed by the classical “x” button. It could be another bug matter…

Expected Results:

The event onbeforeunload should be called before the window is closed, or accordingly to the specifications on the API reference ( What must NOT happen is the successfully closure of the window without the explicit acceptance from user.

Actual Results:

Dev Channel specific:



0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Tony S.”

      Changed Assigned To to “Christian F.”

      Changed Assigned To from “Christian F.” to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “IE F.”

      Changed Status to “Won’t fix”

      Changed Assigned To to “Michael E.”

      Changed Status from “Won’t fix”

      Changed Assigned To from “Michael E.” to “Venkat K.”

      Changed Status to “Not reproducible”

    You need to sign in to your Microsoft account to add a comment.

    Sign in