You need to sign in or sign up before continuing.
user profile page fails to render properly with cookies/localstorage disabled
Summary
I browse with cookies disabled by default, which also disables localStorage. Trying to use it (even read from it) throws an exception, per spec.
Steps to reproduce
Visit my profile page, https://gitlab.com/sneakdotberlin , with cookies/localStorage disabled in chrome.
What is the current bug behavior?
Page fails to render, console displays:
main.0d6be92c.chunk.js:25 Uncaught DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
at Object.<anonymous> (https://assets.gitlab-static.net/assets/webpack/main.0d6be92c.chunk.js:25:162101)
at Object.<anonymous> (https://assets.gitlab-static.net/assets/webpack/main.0d6be92c.chunk.js:25:294908)
at f (https://assets.gitlab-static.net/assets/webpack/runtime.4f69fe83.bundle.js:1:561)
at Object.<anonymous> (https://assets.gitlab-static.net/assets/webpack/main.0d6be92c.chunk.js:79:3884)
at f (https://assets.gitlab-static.net/assets/webpack/runtime.4f69fe83.bundle.js:1:561)
at Object.<anonymous> (https://assets.gitlab-static.net/assets/webpack/main.0d6be92c.chunk.js:79:70200)
at f (https://assets.gitlab-static.net/assets/webpack/runtime.4f69fe83.bundle.js:1:561)
at Object.<anonymous> (https://assets.gitlab-static.net/assets/webpack/main.0d6be92c.chunk.js:137:144570)
at f (https://assets.gitlab-static.net/assets/webpack/runtime.4f69fe83.bundle.js:1:561)
at Module.<anonymous> (https://assets.gitlab-static.net/assets/webpack/main.0d6be92c.chunk.js:44:9471)
at Module.<anonymous> (https://assets.gitlab-static.net/assets/webpack/main.0d6be92c.chunk.js:44:13795)
at f (https://assets.gitlab-static.net/assets/webpack/runtime.4f69fe83.bundle.js:1:561)
at Object.2605 (https://assets.gitlab-static.net/assets/webpack/pages.users.a8316c3a.chunk.js:1:2893)
at f (https://assets.gitlab-static.net/assets/webpack/runtime.4f69fe83.bundle.js:1:561)
at a (https://assets.gitlab-static.net/assets/webpack/runtime.4f69fe83.bundle.js:1:430)
at Array.r [as push] (https://assets.gitlab-static.net/assets/webpack/runtime.4f69fe83.bundle.js:1:293)
at https://assets.gitlab-static.net/assets/webpack/pages.users.a8316c3a.chunk.js:1:43
What is the expected correct behavior?
User profile page should render fully.
Relevant logs and/or screenshots
Without cookies:
With cookies: