onbeforeunload is triggered wrongly (IFrame download)

Won’t fix Issue #796084


Sep 4, 2014
This issue is public.
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce


Repro Steps:

  1. Save the provided example as HTML file.
  2. Open the saved HTML file (allow blocked content).
  3. Try to close the tab (onbeforeunload is triggered).
  4. On the opened dialog click "Stay on this page".
  5. Click "Download". onbeforeunload is triggered every time you click "Download".

Expected Results:

The onbeforeunload should not be triggered when clicking the “Download” link.

Actual Results:

Dev Channel specific:



0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Tony S.”

      Changed Assigned To to “Travis L.”

      Changed Assigned To from “Travis L.” to “Sanket J.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Sanket J.” to “Sanket J.”

      Changed Status from “Confirmed” to “In progress”

      Changed Assigned To from “Sanket J.” to “Todd S.”

      Changed Assigned To from “Todd S.” to “Dalen A.”

      Changed Status from “In progress” to “Won’t fix”

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

    Sign in