Codesandbox-client: Firefox and Chrome on IOS: Error Unexpected frame by generating stack

Created on 8 Apr 2019  路  1Comment  路  Source: codesandbox/codesandbox-client

馃悰 bug report

Description of the problem

  • In Firefox on MacOS (or Chrome on iOS)
  • Visit https://7zlm67770j.codesandbox.io/log-in,
  • Change the email to [email protected] or some other nonsense email. Click the login button (password should be pre-filled and generic).
  • You will not see an error even though you should. If you look in the browser's dev tools you should see an error relating to Unexpected frame by generating stack. This only when viewing it on Codesandbox. When I deploy to now.sh you get the actual graphql error I'd expect which is specific to my backend.

How has this issue affected you? What are you trying to accomplish?

I am trying to handle a known error but this one is being generated instead, but only on codesandbox. When I deploy it to my hosting provider I get my expected graphql error.

Link to sandbox: link (optional)

Your Environment

| Software | Name/Version|
| ---------------- | ---------- |
| 小odesandbox | PROD-1552372285-96510b09
| Browser | Firefox 66.0.1 (64-bit) on MacOS (or Chrome on iOS)
| Operating System | MacOS (or iOS)

馃帓 Bundler

Most helpful comment

Just adding to this thread that I was able to recreate this case with simply an intentionally failing Jest test. Firefox only (works in Chrome), which seems to imply an issue with the error polyfill.

Software | Name / Version
---|---
Codesandbox | PROD-1556551783-3c533b67a
Browser | Firefox 66.0.3 (64 bit)
Operating System | MacOS

Unexpected frame by generating stack.

captureFrameStrings@https://codesandbox.io/static/js/common-sandbox.3dc7ca12.chunk.js:1:261314
e@https://codesandbox.io/static/js/common-sandbox.3dc7ca12.chunk.js:1:263064
[note: truncated for sanity, but this is the error thrown instead of a normal jest error]

>All comments

Just adding to this thread that I was able to recreate this case with simply an intentionally failing Jest test. Firefox only (works in Chrome), which seems to imply an issue with the error polyfill.

Software | Name / Version
---|---
Codesandbox | PROD-1556551783-3c533b67a
Browser | Firefox 66.0.3 (64 bit)
Operating System | MacOS

Unexpected frame by generating stack.

captureFrameStrings@https://codesandbox.io/static/js/common-sandbox.3dc7ca12.chunk.js:1:261314
e@https://codesandbox.io/static/js/common-sandbox.3dc7ca12.chunk.js:1:263064
[note: truncated for sanity, but this is the error thrown instead of a normal jest error]
Was this page helpful?
0 / 5 - 0 ratings

Related issues

k15a picture k15a  路  3Comments

NataliaTepluhina picture NataliaTepluhina  路  3Comments

Haroenv picture Haroenv  路  3Comments

andreplaranja picture andreplaranja  路  3Comments

wojciechczerniak picture wojciechczerniak  路  3Comments