SIGN IN SIGN UP

[DevTools] fix: always send a response to fetch-file request in the extension (#34235)

This fixes the displaying of "rendered by" section if owner stacks
contained any native frames. This regressed after
https://github.com/facebook/react/pull/34185, where we added the
Suspense boundary for the StackTraceView.

This fails because the Promise that is responsible for symbolication of
the source is never getting resolved or rejected.
Previously, we would just throw an Error without sending a corresponding
message to the `main` script, and it would just cache a Promise that is
never resolved, hence the Suspense boundary for "rendered by" section is
never resolved.

In a separate change, I think we need to update StackTraceView component
to display `native` as location, instead of `:0`:
<img width="712" height="118" alt="Screenshot 2025-08-20 at 00 20 42"
src="https://github.com/user-attachments/assets/c79735c9-fdd2-467c-96cd-2bc29d38c4e0"
/>
R
Ruslan Lesiutin committed
812075366552bb757aaa00ff55ecccd1e1e4c5fa
Parent: 3770ff3
Committed by GitHub <noreply@github.com> on 8/21/2025, 5:28:33 PM