SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Updating frontend assets to add header for open-in-editor sources panel devtools button (#54927)

Summary:
Updating front end assets for https://github.com/facebook/react-native-devtools-frontend/pull/229

The "Open in Editor" button in the Sources tab was failing with a 400 Bad Request error. This was because the openStackFrameInEditor request was missing the Content-Type header. Added the appropriate content type header to fix the request.

## Changelog:

[GENERAL] [INTERNAL] - Fix "Open in Editor" button in Sources tab returning 400 Bad Request

Pull Request resolved: https://github.com/facebook/react-native/pull/54927

Test Plan:
Open React Native DevTools
Go to Sources tab
Click "Open in Editor" button on a stack frame
Verify the file opens in the editor without a 400 error

Reviewed By: vzaidman

Differential Revision: D89464184

Pulled By: emily8rown

fbshipit-source-id: 27190e05e11d96bdd9982a4e057c3ef225975bc4
E
Emily Brown committed
d35904da20178841b561ed886ed2364841f56290
Parent: 33b2d6d
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 12/19/2025, 12:16:34 PM