mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-03 02:21:05 +08:00
This reverts commit 759a1364c7.
Reason for revert: broke the tree https://ci.chromium.org/p/devtools-frontend/builders/ci/DevTools%20Linux/508
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: I2b3e811496f5c99b7b2d77a66834c242f0620df2
> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2056480
> Commit-Queue: Wolfgang Beyer <wolfi@chromium.org>
> Reviewed-by: Mathias Bynens <mathias@chromium.org>
TBR=mathias@chromium.org,wolfi@chromium.org
Change-Id: I69a34847e838a83e1795f316e782870a7fc42d8e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:1035309
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2060493
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Mathias Bynens <mathias@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>.