mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-06 12:01:40 +08:00
This fixes the character encoding of the UrlString returned by `urlsFromParentUrlAndName()`, which is called by `WorkspaceImpl`'s `renameUISourceCode()`, to match the encoding of filenames as they are received via `fileSystemFilesChangedAddedRemoved()` from the backend. Without a matching encoding, the UISourceCode will not be found when looking it up by URL, which in turn leads to the creation of an additional duplicate UISourceCode. Fixed: 1320717 Change-Id: I39a6bda366da3ee681a77f28bb1ad3bcccc86fa5 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3613869 Reviewed-by: Simon Zünd <szuend@chromium.org> Reviewed-by: Eric Leese <leese@chromium.org> Commit-Queue: Wolfgang Beyer <wolfi@chromium.org>