mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-11-01 18:59:10 +08:00
This CL adds a component that can be used to link to a network request. The component optionally uses a RequestResolver to resolve the request if only a requestId (in the form of an affected request) is provided. The component updates its state once the request becomes available, thereby supporting plasticity of the UI. This is a plain reland of https://crrev.com/c/2960617. Landing the CL originally uncovered a deficiency in the way our tests were written, see crbug.com/1223300. Bug: chromium:1217975 Change-Id: Ideccf4f9e64cf451a8c28583a9d72e717ff6706f Cq-Include-Trybots: luci.devtools-frontend.try:devtools_frontend_mac_rel Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2983021 Commit-Queue: Sigurd Schneider <sigurds@chromium.org> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Wolfgang Beyer <wolfi@chromium.org>