localStorage and sessionStorage are null


Description of the issue:
On one of my desktop systems, Brave is returning null for localStorage and sessionStorage, breaking sites that try to use it.

How can this issue be reproduced?

  1. Not sure why this is happening! Noticed that a site couldn’t save preferences, saw an error in the console, typed both localStorage and sessionStorage and both returned null.

Expected result:
localStorage and sessionStorage should be present.

Brave Version( check About Brave):
Version 1.20.103 Chromium: 88.0.4324.152 (Official Build) (64-bit)

Additional Information:

1 Like

Hello @TheShanMan

try to change the shield setting like block only third party cookies or allow all cookies

if it did not help try to turn off the shield

hope that help and have a nice day :slight_smile:

1 Like

In Brave Beta, we have a new flag in brave://flags, enabling Ephemeral Storage maybe help here @TheShanMan

1 Like

Thanks to both of you! It was the cookie setting… Apparently that setting is a bit of a misnomer in that it includes more than cookies!

1 Like