# HTML5 localStorage

**URL:** <https://community.brave.app/t/html5-localstorage/100843>\
**Category:** Desktop Support\
**Created:** [January 5, 2020, 6:49pm UTC](https://community.brave.app/t/html5-localstorage/100843 "2020-01-05T18:49:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sunitha](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Sunitha](https://community.brave.app/u/Sunitha)\
**Post date:** [January 5, 2020, 6:49pm UTC](https://community.brave.app/t/html5-localstorage/100843/1 "2020-01-05T18:49:36Z")

</div>

When trying to use the localStorage feature of HTML5 with Brave, it fails to function properly, resulting in error message “Uncaught DOMException: Failed to read the ‘localStorage’ property from ‘Window’: Access is denied for this document.”  
The same code runs without issue on Firefox, Chrome, Opera and Safari, but fails on Brave.  
Is there some setting I need to change?

In case it matters, the file is run locally, on user’s desktop, hence is accessed via file:///C:/maintenance/sub4/rackstatus.html

Any help/advice greatly appreciated.  
Thank you!

---

<div class="post-metadata">

**Author:** ![fanboynz](https://avatars.discourse-cdn.com/v4/letter/f/3be4f8/32.png) [@fanboynz](https://community.brave.app/u/fanboynz)\
**Post date:** [January 6, 2020, 8:31am UTC](https://community.brave.app/t/html5-localstorage/100843/2 "2020-01-06T08:31:10Z")

</div>

Chrome broke localstorage recently. [https://www.androidpolice.com/2019/12/17/google-fixes-chrome-bug-that-broke-local-storage-for-some-web-and-android-apps-no-data-is-lost/](https://www.androidpolice.com/2019/12/17/google-fixes-chrome-bug-that-broke-local-storage-for-some-web-and-android-apps-no-data-is-lost/)

Just tested Chrome (Version 79.0.3945.88 (Official Build) (64-bit) on this page: [https://jsfiddle.net/6sm54/2/](https://jsfiddle.net/6sm54/2/) still affected. When Chromium builds update for Brave, it should be fixed.

/edit: Also Enabling “Allow all cookies” in Shields may also help

---

<div class="post-metadata">

**Author:** ![Sunitha](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Sunitha](https://community.brave.app/u/Sunitha)\
**Post date:** [January 6, 2020, 2:15pm UTC](https://community.brave.app/t/html5-localstorage/100843/3 "2020-01-06T14:15:45Z")

</div>

Thank you for the information, I appreciate your time.  
Don’t want to “Allow all cookies”, so will wait for an update to fix the issue.  
Thanks again!

---

<div class="post-metadata">

**Author:** ![Sunitha](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Sunitha](https://community.brave.app/u/Sunitha)\
**Post date:** [January 20, 2020, 6:08pm UTC](https://community.brave.app/t/html5-localstorage/100843/4 "2020-01-20T18:08:11Z")

</div>

Today is 20 January 2020, and Brave Browser has upgraded to version 1.2.43 Chromium: 79.0.3945.130 – but “localStorage” still only works via HTTP connection. I have checked other Chrome-based browsers, and they all work for local storage (no HTTP connection required).  
Is this issue a design feature, or is it an oversight on the part of Brave?  
Thanks in advance for any advice offered.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/brave/original/3X/1/8/182067f3480d1a5e7aea5ae3131b116ca1ef7918.png) [@system](https://community.brave.app/u/system)\
**Post date:** [March 20, 2020, 6:08pm UTC](https://community.brave.app/t/html5-localstorage/100843/5 "2020-03-20T18:08:13Z")

</div>

Closed on March 20, 2020, 6:08pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
