history.replaceState() improperly resets document.referrer to empty string

Won’t fix Issue #10474810


pat g.
Jan 10, 2017
This issue is public.
Found in
  • Internet Explorer
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

The document.referrer is removed when you call history.replaceState()

This does not occur on other browsers. This occurs when using IE11.

      // this log output is valid
      console.log( document.referrer );

     // call replaceState() to reproduce issue
      history.replaceState({}, 'somethingelse');              

     // this output is empty, which is not expected
      console.log( document.referrer );

Screenshot shows the same HTML code working on Chrome browser, and failing on IE11. Tested using Windows 10, IE11 browser.


Comments and activity

  • Is this bug forum used by the IE QA team? Is there another place to put this type of bug?

  • Microsoft Edge Team

    Changed Assigned To to “Brad E.”

    Changed Status to “Won’t fix”

  • Hello,

    Thank you for providing your feedback on IE11. We are not accepting feedback on Internet Explorer through this portal any longer (unless security related). We are pleased to report that this issue is fixed in Edge, so please consider using the MS Edge browser.

    Best Wishes,
    The MS Edge Team

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

Sign in