Files
react-native-devtools-frontend/test
Connor Clark 07b0ecc3cc Extract CLS root causes from internal repository
1. Extract root-causes from internal repository. There is no plan to
   modify the internal repository to use this iteration. Only
   LayoutShift.ts is extracted (leaving just LCP.ts root causes).

2. Replace usages of CDT SDK / services with a generic protocol
   interface. This root cause logic needs to be usable outside
   DevTools (for Lighthouse), so the SDK / services are replaced with
   specific callbacks provided to the entry function. There are no
   immediate plans to utilize LayoutShift root cause functionality
   directly in this repo, so creating an interface using the SDK is
   deferred (though it should be trivial) until needed (likely for
   the LCP root cause / breakdown).

3. Refactor RootCauses functionality to a class, instead of passing
   around a "protocolInterace" object through all the methods.

4. Add `initiator` to RendererHandler's `TraceEntryNode`. This is
   exactly as the internal variant of this Handler did it.

Bug: 1477187
Change-Id: Ia6e51eacef527fa73809dd4336fb1886f20e2410
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5013616
Reviewed-by: Andres Olivares <andoli@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Connor Clark <cjamcl@chromium.org>
2023-11-14 17:42:36 +00:00
..
2023-09-08 12:23:23 +00:00
2023-11-14 15:46:57 +00:00
2023-11-13 16:27:43 +00:00
2021-09-17 09:58:39 +00:00
2023-11-13 16:27:43 +00:00
2021-03-25 12:42:58 +00:00
2021-04-08 12:25:52 +00:00