codesandbox / codesandbox/codesandbox-client

Embed fails for chrome with incognito (localStorage error)

Open
#6,174 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

🐛 bug report

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project
    adheres to.
  • I have searched the issue tracker for an issue that matches the one I want
    to file, without success.

Description of the problem

Loading an embed with incognito in the latest chrome causes an error and prevents anything from rendering.

To Reproduce

Visit https://react-hook-form.com/ with chrome in incognito. Scroll to the Less code. More performant section and notice the broken embed below.

Screen Shot 2021-09-30 at 8 24 35 PM
Link to sandbox: link (optional)

Not a sandbox, but observable here with incognito: https://react-hook-form.com/

Your Environment
Software Name/Version
Сodesandbox Huh? It's the embed
Browser Chrome 94 with incognito
Operating System Mac OS Catalina

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the embed at https://react-hook-form.com/ in Chrome 94 incognito and inspect the localStorage error that prevents rendering. The issue is done when the embed renders successfully in Chrome incognito without breaking the surrounding page.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.