SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

[Flight] Try/Catch Eval (#29671)

Follow up to https://github.com/facebook/react/pull/29632.

It's possible for `eval` to throw such as if we're in a CSP environment.
This is non-essential debug information. We can still proceed to create
a fake stack entry. It'll still have the right name. It just won't have
the right line/col number nor source url/source map. It might also be
ignored listed since it's inside Flight.
S
Sebastian Markbåge committed
9710853baf9649fed556dc0e9d39765649675b7b
Parent: 9d4fba0
Committed by GitHub <[email protected]> on 5/30/2024, 7:00:55 PM