mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 01:38:07 +08:00
This reverts commit e4d2472814.
Reason for revert: Further discussions are needed to ensure
consistency between DevTools and Lighthouse on how to calculate
kb/MB.
Original change's description:
> Use 1000 not 1024 for kB and MB calculations
>
> This removes the usage of the number 1024 for the calculation of kB and
> MB values. Instead the correct value of 1000 is used.
> The changes mostly affect the file/transfer size values seen in the
> network tab (screenshot: https://imgur.com/a/cDqxScS).
>
> Bug: chromium:1035309
> Change-Id: Ic3fe4fc6536326d44fc9f838189db9b0c19d0955
> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2062606
> Commit-Queue: Wolfgang Beyer <wolfi@chromium.org>
> Reviewed-by: Mathias Bynens <mathias@chromium.org>
TBR=mathias@chromium.org,wolfi@chromium.org
# Not skipping CQ checks because original CL landed > 1 day ago.
Bug: chromium:1035309
Change-Id: I60dd9be51a097166889db9d7206ad251be6d2235
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2071878
Commit-Queue: Wolfgang Beyer <wolfi@chromium.org>
Reviewed-by: Wolfgang Beyer <wolfi@chromium.org>
Running Old Devtools
This package launches your current version of Chromium, and an old version of Chromium. It then opens the DevTools of the old Chromium inside the new Chromium. This can be used to test devtools_compatibility.js. Remember to recompile after making changes to devtools_compatibility.js.
Usage
First run npm install in this directory. Then run node index.js <revision_number>.