Redirect with window.location.href doesn't work

Issue #23407303 • Assigned to Arvind M.

Details

Author
ryan y.
Created
Sep 6, 2019
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

window.location.href = “https://www.google.com” will show unspecified error with Edge 17.
window.location = “https://www.google.com” as a workaround.

This issue doesn’t happen in other browser, safari, firefox, ie11, chrome.

----according to spec:
location . href

Returns the Location object's URL.

Can be set, to navigate to the given URL.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Zachariah L.”

      Changed Assigned To to “Arvind M.”

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

    Sign in