IE11 - Using window.location.replace and META prerender pushes to the history object and does not disable Back navigation caching

Fixed Issue #101896


Apr 27, 2014
This issue is public.
Found in build #
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce



Repro Steps:


  1. open
  2. make sure that the F12 developer tools is closed
  3. click the link
    – notice the back button is enabled.

Close the browser

  1. open
  2. open F12 developer tools (click on console)
  3. click the link on the page to advance to page 2
    – notice the back button is disabled
    – F12 console states : DOM7011: The code on this page disabled back and forward caching. For more information, see:
    File: page1.html

[OLD REPRO Steps – still valid]
Add this in the head of a new HTML page (back button is inactive);

setTimeout(function() {
}, 3000);

{{! Disable the back/forward cache; }}
window.onbeforeunload = function(e) {


<link rel="prerender" href="{{{url}}}" />

When the page redirects if the prerender is complete, back button becomes active.

Expected Results:

Browser redirects to {{{url}}} without the back button becoming active. becuase the webpage contains an beforeunload event which should disable the back button just like it does when F12 is enabled.

Actual Results:

Back button is not disabled as expected.


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “IPBS P.”

      Changed Assigned To from “IPBS P.” to “Bruce M.”

      Changed Assigned To from “Bruce M.” to “Michael E.”

      Changed Status to “Confirmed”

      Changed Status from “Confirmed”

      Changed Assigned To to “Bruce M.”

      Changed Assigned To to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “IPBS P.”

      Changed Status to “Fixed”

      Changed Assigned To from “IPBS P.” to “Venkat K.”

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

    Sign in