Brave is unable to create cookies with less than 4 days. It doesn’t matter if the shield is up or down.
Try the following steps :
- Enter a website, such as http://www.example.com/
- Open the Developer inspection tool and go to console
- Type the following:
var d = new Date();
d.setTime(d.getTime() + (1*24*60*60*1000));
var expires = "expires=" + d.toGMTString();
document.cookie = "ko=ko;" + expires + ";path=/";
Then read the recently created cookie using the command :
document.cookie
Expected: Cookie is present
Result: No cookie present
But it works if you increase the cookie expiry to any value > 4 days, see example:
var d = new Date();
d.setTime(d.getTime() + (4*24*60*60*1000));
var expires = "expires=" + d.toGMTString();
document.cookie = "OK=YES;" + expires + ";path=/";
Brave version:
Version 0.56.15 Chromium: 70.0.3538.110 (Build oficial) (64 bits)
The same error doesn’t happen, for instance in Chrome
Version 71.0.3578.80 (Build oficial) (64 bits)
Neither in Firefox.