Unable to access localStorage or sessionStorage in locally hosted files

Duplicate Issue #14930573 • See Issue #8816771


Johny L.
Dec 4, 2017
This issue is public.
Found in
  • Microsoft Edge
See progress on Bug #8816771
Reported by 3 people

Sign in to watch or report this issue.

Steps to reproduce

  1. Create an HTML file
  2. Open it in Edge
  3. Open the console
  4. Type in “localStorage” and press enter

Expected Result: a reference to “localStorage” is returned
Actual Result: a Permission Denied message is shown

If localStorage is used in a script tag in the file, a “SCRIPT16389: Unspecified error.” is shown as well.


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Status to “Duplicate”

    • Thank you for reporting this issue! We are merging it with an existing bug that seems to point to the same root symptom: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8816771/. Please feel free to add a comment if you believe there is an aspect to this bug that is unique enough to merit keeping open as a separate issue.

    • This bug has marked as duplicate. Please follow the parent issue to get new updates.

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

    Sign in