Returning Empty String from onbeforeunload event shows crazy characters.

Fixed Issue #4531559

Details

Created
Sep 9, 2015
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

  1. Create a web page.
  2. Set the window.onbeforeunload event equal to a function that returns an empty string "".
  3. Open the web page. Then attempt to close the tab. Dialog shows but with invalid characters.

Expected Results:

It should show the onbeforeunload dialog, but without any text.

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Mara P.”

      Changed Assigned To to “Christian F.”

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

      Changed Status to “Fixed”

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

    Sign in