window.location.replace should throw on invalid url

Issue #6194556 • Assigned to Kris K.

Details

Created
Jan 15, 2016
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

Open any site
Open the console
Type window.location.replace(‘//’)

Expected Results:

That url is invalid so according to the spec (https://www.w3.org/TR/html5/browsers.html#dom-location-replace), or at least my interpretation of it, it should throw an exception and not try to figure out the right one.

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Kamen M.”

      Changed Assigned To to “Travis L.”

      Changed Assigned To from “Travis L.” to “Kris K.”

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

    Sign in