history.pushState updates page path to /undefined when optional URL is undefined

Issue #10825440 • Assigned to Travis L.

Details

Author
Mohammed K.
Created
Feb 6, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
25.10586
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Reproduce here: http://output.jsbin.com/fuqukov/quiet

Steps to reproduce:

Call history.pushState(anything, anything, undefined)
Notice the page path changes to /undefined
Expected Behavior

The third URL parameter is optional and the current path should be used when URL is not passed.

Versions

Edge 25.10586.672.0
EdgeHTML 13.10586

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Assigned To from “Brad E.” to “James M.”

      Changed Assigned To to “Travis L.”

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

    Sign in