If you attempt to access the site in a private window in Safari 9.x or earlier on a Mac, or in a private window in Safari on iOS 9 or earlier, you will get the GDPR prompt asking you to agree to the Terms of Service. However, checking the box and clicking the button to accept does not make the prompt go away.
QuotaExceededError: DOM Exception 22: An attempt was made to add something to storage that exceeded the quota.
We’re just going to give up on the idea of overriding window.localStorage for browsers that don’t support it correctly and instead just check whether it works and, if not, create a cookie some less convoluted way.
Please note what browser version, OS version, and device you’re using to test.
Open a private window in one of the listed browsers.
When the TOS prompt appears, check the box and press the accept button.
Ensure it goes away and stays away if you navigate to another page while in the same tab.
Close the private window.
Open a new private window in one of the listed browsers.
Go to https://test.archiveofourown.org?tos=yes
Ensure the TOS prompt does not appear and that it does not appear when you navigate to another page while in the same tab.
It is also a good idea to make sure that the TOS prompt works correctly in other browsers, both when using the ?tos=yes parameters (these should prevent the prompt from ever appearing) and when not using them.