localStorage usage reporting test page

Page to quickly test that localStorage (often conflated with cookie) usage for websites is reported correctly. For Chromium at least, a website should only be considered to have used localStorage if both the website referenced the localStorage Object and the website has something stored in localStorage. In other words, a website accessing or reading from localStorage shouldn’t cause the browser to report that cookies have been used unless something has also been written to localStorage by the website.

See https://crbug.com/1152401 and Konrad’s test page that this one is based on.

localStorage (aka cookie) website usage screenshot

Access/read localStorage

Write/clear localStorage