Unable to access localStorage or sessionStorage in locally hosted files

Issue #14930573 • Assigned to Steven K.


Johny L.
Dec 4, 2017
This issue is public.
Found in
  • Microsoft Edge
Reported by 2 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.”

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

    Sign in