mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ff2e40371e
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49001 In {D42973408}, `Debugger.scriptParsed` was tweaked to be intercepted in `inspector-proxy`, which: 1. Rewrote the `sourceMapURL` to be relative to debugger. 2. Attempted to fetch the contents of the source map from `sourceMapURL` after re-writing again to a server-relative URL, and if successful replaced `sourceMapURL` with a base64 data URL. 1 is still needed until we have `Network.loadNetworkResource`, but 2 was only needed for frontends that did not support http fetch, and is not needed with Fusebox. Changelog: [General][Changed] `Debugger.scriptParsed` now includes the field `sourceMapURL` as a (rewritten) remote url as opposed to base64 data url Reviewed By: robhogan Differential Revision: D68708899 fbshipit-source-id: 95242582c79ce4e9a573d4a3e639b0dc3290869e