bug in IE10 and IE11 with onbeforeunload and closing

Fixed, not yet flighted Issue #3050767

Details

Created
Jun 3, 2015
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL: https://googledrive.com/host/0B8BLd2qPPV7XNG44OGpEcFItdXM/IECustomizer-beforeunload-advice.html

Repro Steps:

==============

https://googledrive.com/host/0B8BLd2qPPV7XNG44OGpEcFItdXM/IECustomizer-beforeunload-advice.html

Step1 Start IE11 fresh. Load first tab with demo. Call this tab#1.

Step2 Open a new empty tab (about:blank). Call this tab#2.

Step3

a Return to demo tab#1. Click the “X” on tab#1 as though to close it.

Step3

b An onbeforeunload dialog appears with some foolish message. Choose either OK or Cancel, it doesn’t matter which.

Step3

c An IE dialog appears “Are you sure you want to leave this page?” Say NO. "Stay on this page".

Step4 Now try closing IE by clicking the red-X in the upper right corner. “Close all tabs” dialog appears but DOES NOTHING. (bug)

Step5 Close blank tab#2.

Step6a Now try closing tab#1 by clicking the tab’s X. NOTHING HAPPENS. Nothing at all. (bug)

Step6b Now try closing IE by clicking the red-X in the upper right corner. NOTHING HAPPENS. Nothing at all. (bug)

<old>

  1. Create html file with content.

<html>

<head></head>

<body>

<script>

var func = function(){

return 'xxx’;

};

window.onbeforeunload = func;

</script>

</body>

</html>

  1. Open it in IE.
  1. Click "Allow blocked content".
  1. Open 2nd tab.
  1. Try close 1st, but click "stay on this page".
  1. Close 2nd tab.
  1. Try close 1st tab or IE. It is imposible.

Expected Results:

==============

i want to close IE

Actual Results:

==============

Dev Channel specific:

================

Yes

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Kamen M.”

      Changed Assigned To to “Christian F.”

      Changed Steps to Reproduce

      Changed Status to “Confirmed”

      Changed Assigned To from “Christian F.” to “Ryan S.”

      Changed Title from “bug in IE10 and IE11 with onbeforeunload and closing” to “bug in IE10 and IE11 with onbeforeunload and closing”

      Changed Status from “Confirmed” to “In code review”

      Changed Status from “In code review” to “In progress”

      Changed Steps to Reproduce

      Changed Status from “In progress”

      Changed Assigned To from “Ryan S.” to “IE S.”

      Changed Status to “Fixed”

      Changed Status from “Fixed” to “Fixed, not yet flighted”

      Changed Status from “Fixed, not yet flighted” to “Fixed, not yet flighted”

      Changed Steps to Reproduce

      Changed Assigned To from “IE S.” to “Ryan S.”

    • Hello,

      Thank you for providing this information about the issue. We confirmed the problem, and implemented a solution on a later build of Edge. We are resolving this issue as a duplicate of an existing internal bug report. We look forward to additional feedback you may have on how we can improve Microsoft Edge.

      Best Wishes,
      The MS Edge Team

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

    Sign in