window.localStorage raises an unspecified error when accessed in a local file

Confirmed Issue #8816771 • Assigned to Shawn P.

Details

Author
Marc L.
Created
Sep 9, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
38.14393
Reports
Reported by 10 people

Sign in to watch or report this issue.

Steps to reproduce

Hello,

To (try to) reproduce:

  1. Update to KB3176936,
  2. Open a local html file,
  3. In the console type "window.localStorage", it should raise an unexpected error (it used to be “undefined”).

Cheers,
Marc.

Attachments

0 attachments

    Comments and activity

    • Note that I’ve tested on two other windows 10, one which was not up-to-date and where the bug is not present and one "windows insider"’s computer (where the bug is there).

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Assigned To to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “Ali A.”

      Changed Status to “Confirmed”

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

    • Note that unsurprisingly this happen also with "window.sessionStorage".

    • I can confirm that I have this issue. My Surface Pro 3 is on the Creators Update and has all monthly updates installed.

    • Same as Matthew B.
      I also face this issue (Desktop Dell PC on the Creators Update, all updates installed and multiple Windows 10 Mobile devices).

      I noticed this issue while developing UWP app. I cannot load my Html file (from app local storage) in the Webview as it uses JavaScript file (located also in the app local storage).
      I tested it in Edge (from Desktop) and it doesn’t work either.

      BUT it works if I use my HTML+JS files in a webview on a WindowsPhone 8.1 Winrt App.

      Could you fix it for Edge (Windows 10), please?

    • Another confirmation here.
      Seriously - this is over a year old now. How does Microsoft expect anyone to develop/test offline web pages/apps for Edge if basic stuff like this does not get fixed - given that it works fine in every other browser?
      Just giving a more meaningful error message would be an improvement…

    • Another confirmation here.
      Appears in Webview XAML application. Appeared after updating to creators update 1703. Only affects certain PCs and seems to be related to user settings.

    • This is really annoying as this bug causes Edge to fail on the very first Javascript tutorial on MDN (https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/JavaScript_basics).
      And it is even more disappointing to fail on this simple MDN tutorial as Microsoft announced the cooperation with MDN just some days ago (https://blogs.windows.com/msedgedev/2017/10/18/documenting-web-together-mdn-web-docs/).
      (I use build 17025).

    • Still running into this issue on December 1, 2017. Is there an ETA for a bug fix? It all works fine in Firefox and Chrome but I would like to include support for Edge. Thanks.

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

    Sign in