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
Just tested Chrome (Version 79.0.3945.88 (Official Build) (64-bit) on this page: 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
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.