Description of the issue:
On my website I have this mandatory GDPR popup accept/decline state saved into cookie, but it keeps pop up every week.
Steps to Reproduce (add as many as necessary): 1. 2. 3.
Open the dev tools console on any website. Create a 1 year cookie with the following code:
let days = 365; let date = new Date; date.setTime(date.getTime() + 24 * days * 60 * 60 * 1e3); document.cookie = 'test=xxxxx;expires='+date.toUTCString()+';path=/;SameSite=Lax;secure';
Actual Result (gifs and screenshots are welcome!):
The cookie expires 7 days from now: https://i.postimg.cc/BQZ0Bt7J/expire.png
The new cookie should expire 365 days from now.
Reproduces how often:
Operating System and Brave Version(See the
About Brave page in the main menu):
- OS: macOS Catalina 10.15.2 (but experienced also on Windows 10)
- Brave: Version 1.2.43 Chromium: 79.0.3945.130 (Official Build) (64-bit)
This issue happens only in Brave and Safari browsers. In Chrome, FF, Opera and Edge it works as expected.