A localStorage item set in one tab is not always retrievable via getItem in another tab of the same domain

Confirmed Issue #296034 • Assigned to Shawn P.

Details

Created
Jun 6, 2014
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

Open two tabs in IE11 on win8.1:
http://mfst.pro/read
http://mfst.pro/write

Read values should correspond to written values

Expected Results:

localStorage should syncronize between different windows from the same domain

Actual Results:

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Kamen M.”

      Changed Assigned To from “Kamen M.” to “Ali A.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Ali A.” to “Shawn P.”

      Changed Status from “Confirmed”

      Changed Steps to Reproduce

      Changed Status to “Confirmed”

      Changed Title from “localStorage is broken in IE11 on Win 8.1” to “A localStorage item set in one tab is not always retrievable via getItem in another tab of the same domain”

      Changed Status from “Confirmed” to “Won’t fix”

      Changed Assigned To to “Ali A.”

      Changed Status from “Won’t fix” to “Confirmed”

      Changed Assigned To from “Ali A.” to “Shawn P.”

      Changed Assigned To from “Shawn P.” to “IE F.”

      Changed Status from “Confirmed” to “Won’t fix”

      Changed Assigned To from “IE F.” to “Shawn P.”

      Changed Status from “Won’t fix” to “Confirmed”

      Changed Assigned To from “Shawn P.” to “IE F.”

      Changed Status from “Confirmed” to “Not reproducible”

      Changed Assigned To from “IE F.” to “Shawn P.”

      Changed Status from “Not reproducible” to “Confirmed”

      Changed Status from “Confirmed” to “In progress”

      Changed Status from “In progress” to “In code review”

      Changed Status from “In code review” to “Won’t fix”

      Changed Assigned To to “Shawn P.”

      Changed Status from “Won’t fix”

      Changed Assigned To from “Shawn P.” to “IE S.”

      Changed Status to “Not reproducible”

      Changed Assigned To to “Mona G.”

      Changed Status from “Not reproducible”

      Changed Assigned To from “Mona G.” to “Shawn P.”

      Changed Status to “Confirmed”

    • We have two pages “/read” and "/write". Page “/write” each second updates localStorage with current time:

      setInterval(function(){
          var time = (new Date()).getTime();
          localStorage.setItem("time", time);
          console.log("set", time);
      },1000);
      

      Page “/read” reads same storage:

      setInterval(function(){
          var time = localStorage.getItem("time");
          console.log("get", time);
      },1000);
      

      One would think that “/read” page should show the same values which are written to localStorage by another page. But in IE11 on Win8.1 this is broken. Page “/read” reads some old value from storage, and further on it will show you the same value (as if it uses cache for local storage)

      Both pages are on the same domain

    • Microsoft Edge Team

      Changed Steps to Reproduce

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

    Sign in