new URL() does not encode path string as required

Confirmed Issue #11904892 • Assigned to travil

Details

Author
Kagami R.
Created
May 4, 2017
Privacy
This issue is public.
Standard affected
URL Standard

Found in build #
15.16188
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

new URL(“https://example.org/💩”).pathname

Expected: “/%F0%9F%92%A9”

Actual: “/💩”

new URL(“https://example.org/💩”).toString()

Expected: “https://example.org/%F0%9F%92%A9

Actual: “https://example.org/💩”

When this is fixed, please enable test cases in DRTS:"webdriver.document-constructor-xml" and “webdriver.document-constructor” added in PR:895925

Attachments

0 attachments

    Comments and activity

    • Changed Steps to Reproduce

      Changed Steps to Reproduce

      Changed Title from “URL.pathname does not encode path string as required” to “new URL() does not encode path string as required”

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “Scott L.”

      Changed Assigned To from “Scott L.” to “Travis L.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Travis L.” to “Nishant S.”

      Changed Steps to Reproduce

      Changed Assigned To to “travil”

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

    Sign in