mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-03 02:21:05 +08:00
It uses a `.rawresponse` file that forcibly sets the `Last-Modified` header. We then open the network panel, add the `Last-Modified` column to the data-grid and then introspect its values. As part of this patch, each context submenu now gets an `aria-label`. These attributes are redundant here, since they mirror the computed accessible name of these elements. The reason they're added is that we use this label in the selectors of the end-to-end test. This replaces https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/web_tests/http/tests/devtools/startup/resources/cached-resource-metadata.html;drc=77578ccb4082ae20a9326d9e673225f1189ebb63?originalUrl=https:%2F%2Fcs.chromium.org%2F as an e2etest. Bug: 1047671 Change-Id: I89efc145c915f1a083dbcfb3765674122d9748fe Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2039270 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Mathias Bynens <mathias@chromium.org>