DevTools compatibility versioning |
|
Issue descriptionAs the number of hacks in devtools_compatibility.js keeps growing, we should only apply the hacks that are needed for the version of devtools being run. This will remove the need for hacks to be both forwards and backwards compatible.
,
Oct 25
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/6ca23eae57e2021ff9a1899beba7b89f90b6673b commit 6ca23eae57e2021ff9a1899beba7b89f90b6673b Author: Joel Einbinder <einbinder@chromium.org> Date: Thu Oct 25 18:32:44 2018 DevTools: Add a script to launch old versions of DevTools This can be used for testing devtools_compatibility.js against various older versions of DevTools. Bug: 898245 Change-Id: I0eb15d1e4a1e893b97a7c9a77c2c80c7006068a2 Reviewed-on: https://chromium-review.googlesource.com/c/1298617 Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Joel Einbinder <einbinder@chromium.org> Cr-Commit-Position: refs/heads/master@{#602806} [add] https://crrev.com/6ca23eae57e2021ff9a1899beba7b89f90b6673b/third_party/blink/renderer/devtools/scripts/run_old_devtools/.gitignore [add] https://crrev.com/6ca23eae57e2021ff9a1899beba7b89f90b6673b/third_party/blink/renderer/devtools/scripts/run_old_devtools/README.md [add] https://crrev.com/6ca23eae57e2021ff9a1899beba7b89f90b6673b/third_party/blink/renderer/devtools/scripts/run_old_devtools/index.js [add] https://crrev.com/6ca23eae57e2021ff9a1899beba7b89f90b6673b/third_party/blink/renderer/devtools/scripts/run_old_devtools/package.json
,
Oct 30
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/89ed1da2c8dde2a5c415fb5688c05b7bcfc7cf94 commit 89ed1da2c8dde2a5c415fb5688c05b7bcfc7cf94 Author: Joel Einbinder <einbinder@chromium.org> Date: Tue Oct 30 01:59:53 2018 DevTools: Selectively apply devtools_compatibility.js for remote version This patch uses the remoteVersion of the devtools being run to apply only the fixes that are needed. Additionally, use of the /deep/ selector is swapped out for injecting a stylesheet in every shadow root. Bug: 898245 Change-Id: I311ab48d88434d821fedb279d81b2ab9a7f8c94d Reviewed-on: https://chromium-review.googlesource.com/c/1299914 Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Joel Einbinder <einbinder@chromium.org> Cr-Commit-Position: refs/heads/master@{#603733} [modify] https://crrev.com/89ed1da2c8dde2a5c415fb5688c05b7bcfc7cf94/third_party/blink/renderer/devtools/front_end/devtools_compatibility.js
,
Nov 2
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/20f041d246f785b4cc4713bb6d58db4a0952c5e2 commit 20f041d246f785b4cc4713bb6d58db4a0952c5e2 Author: Joel Einbinder <einbinder@chromium.org> Date: Fri Nov 02 20:52:27 2018 DevTools: Correctly return the major version in devtools_compatibility Bug: 898245 Change-Id: I591cecc162cb86d5925ec67b4bbe6b12cd72a0c2 Reviewed-on: https://chromium-review.googlesource.com/c/1313830 Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Joel Einbinder <einbinder@chromium.org> Cr-Commit-Position: refs/heads/master@{#605045} [modify] https://crrev.com/20f041d246f785b4cc4713bb6d58db4a0952c5e2/third_party/blink/renderer/devtools/front_end/devtools_compatibility.js |
|
►
Sign in to add a comment |
|
Comment 1 by bugdroid1@chromium.org
, Oct 24