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

Won’t fix Issue #10474810

Details

Author
pat g.
Created
Jan 10, 2017
Privacy
This issue is public.
Found in
  • Internet Explorer
Reports
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.

 <script>
      // 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 );
 </script>

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

Attachments

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

  • history.replaceState(null, null, “url”); is not working on Microsoft edge browser.chrome ,firefox and IE is working good. but issues in only Microsoft edge browser.
    history.pushState(null, null, “url”); is not working on Microsoft edge browser.chrome ,firefox and IE is working good. but issues in only Microsoft edge browser.

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

Sign in