codesandbox / codesandbox/codesandbox-client

error

Open
#8,227 0 comments 0 reactions 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

💥 Crash Report

What were you trying to accomplish when the crash occurred?

Please use this issue template to describe what you were doing when you encountered this crash. While we are able to fill in some details automatically, it's not always enough to reproduce!

Link to sandbox: [link]() (optional)
Crash Details
Environment
Browser Version Operating System CodeSandbox Version
chrome 121.0.0 Windows 10 8406c5409

Route:
https://codesandbox.io/signin/eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJDb2RlU2FuZGJveCIsImV4cCI6MTcwNTQwNTA1MCwiaWF0IjoxNzAyODEzMDUwLCJpc3MiOiJDb2RlU2FuZGJveCIsImp0aSI6IjUwZGU4NGQyLTg2MWQtNDE3Yy04MzI2LWJmYWYyYTEwNmYyMyIsIm5iZiI6MTcwMjgxMzA0OSwic3ViIjoiVXNlcjpjYjUxNzJiZS0zYmZlLTRmODUtOWIwNS1lZjc5MTYyOTk0OWMiLCJ0eXAiOiJhY2Nlc3MifQ._wfsCug9YH61c2kZgTRwuzSK65PcchLYBx2K3iQv-DOdgX4FaOuam-brwhyO0A5QQsqbsbzWpTi1oIHTnTOMyA

Error Message
SecurityError: Failed to read a named property 'origin' from 'Location': Blocked a frame with origin "https://codesandbox.io" from accessing a cross-origin frame.
Error: Failed to read a named property 'origin' from 'Location': Blocked a frame with origin "https://codesandbox.io" from accessing a cross-origin frame.
  at new m (https://codesandbox.io/static/js/page-sign-in.3fa5df2bb.chunk.js?_sw-precache=7e33689dca22240250d83a00591e884c:1:6636)
  at Si (https://codesandbox.io/static/js/common.f414db27e.chunk.js?_sw-precache=2b9c8f09ad98d7f2ab43fd1bd045aa4a:1:1959332)
  at Ys (https://codesandbox.io/static/js/common.f414db27e.chunk.js?_sw-precache=2b9c8f09ad98d7f2ab43fd1bd045aa4a:1:1976130)
  at xa (https://codesandbox.io/static/js/common.f414db27e.chunk.js?_sw-precache=2b9c8f09ad98d7f2ab43fd1bd045aa4a:1:2013930)
  at ml (https://codesandbox.io/static/js/common.f414db27e.chunk.js?_sw-precache=2b9c8f09ad98d7f2ab43fd1bd045aa4a:1:1998279)
  at hl (https://codesandbox.io/static/js/common.f414db27e.chunk.js?_sw-precache=2b9c8f09ad98d7f2ab43fd1bd045aa4a:1:1998204)
  at il (https://codesandbox.io/static/js/common.f414db27e.chunk.js?_sw-precache=2b9c8f09ad98d7f2ab43fd1bd045aa4a:1:1995552)
  at https://codesandbox.io/static/js/common.f414db27e.chunk.js?_sw-precache=2b9c8f09ad98d7f2ab43fd1bd045aa4a:1:1953994
  at https://codesandbox.io/static/js/common.f414db27e.chunk.js?_sw-precache=2b9c8f09ad98d7f2ab43fd1bd045aa4a:1:2028976
  at qo (https://codesandbox.io/static/js/common.f414db27e.chunk.js?_sw-precache=2b9c8f09ad98d7f2ab43fd1bd045aa4a:1:1953703)

  in m
  in Unknown
  in t
  in t
  in div
  in elements__Content
  in je
  in withRouter(je)
  in div
  in elements__Container
  in Unknown
  in withRouter()
  in t
  in Unknown
  in Ie
  in c
  in t

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

Start with the sign-in route and reproduce the crash in Chrome 121 on Windows 10. Inspect the source corresponding to page-sign-in.3fa5df2bb.chunk.js and common.f414db27e.chunk.js, using the reported SecurityError as the starting point. Done means the sign-in flow no longer crashes when the cross-origin frame is encountered.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
authentication, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.