No beforeunload event if formsubmit is triggered during load event

Confirmed Issue #13075460 • Assigned to Travis L.

Details

Author
Gernot R.
Created
Aug 3, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
14.14393
Reports
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

  • add beforeunload listener to page (e.g. with a debugger; statement)
  • add a form
  • add a load listener to page that triggers form.submit()

edge doesn’t fire the beforeunload event, however it does fire pagehide and unload events.
example on codepen

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Assigned To to “Travis L.”

      Changed Status to “Confirmed”

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

    Sign in