mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-03 10:31:10 +08:00
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>
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>.