Skip to content

Commit d35904d

Browse files
emily8rownmeta-codesync[bot]
authored andcommitted
Updating frontend assets to add header for open-in-editor sources panel devtools button (#54927)
Summary: Updating front end assets for react/react-native-devtools-frontend#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: #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
1 parent 33b2d6d commit d35904d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/debugger-frontend/BUILD_INFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
@generated SignedSource<<3e785aa8e1e511007bb7bc59210a9a1a>>
2-
Git revision: c85f7e933aa685da64ee73e398bf06d33d9d2f3c
1+
@generated SignedSource<<ed580785f8afa314ec8cc43c7523f469>>
2+
Git revision: 1f006e22bfad4d66df4786d6d775c15101c66e5d
33
Built with --nohooks: false
44
Is local checkout: false
55
Remote URL: https://github.com/facebook/react-native-devtools-frontend

packages/debugger-frontend/dist/third-party/front_end/panels/sources/sources.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)