[Devtools] Add request interception experiment

Desktop / Chromium - Nathan Bruer [chromium.org] - 18 October 2017 00:40 EDT

This patch adds the ability to intercept requests and rewrite them with content that as changed in the devtools session.

see: https://user-images.githubusercontent.com/1831202/31698204-2668249e-b371-11e7-814f-4253aa61ed7d.png see: https://user-images.githubusercontent.com/1831202/31698205-26818cea-b371-11e7-804a-68a172537644.png

R=lushnikov,pfeldman,einbinder BUG=760316

Change-Id: I9ab2fc3aeca22cf49bc20f2be569c543f9fa4ab8 Reviewed-on: https://chromium-review.googlesource.com/720160 Commit-Queue: Blaise Bruer

6316a74 [Devtools] Add request interception experiment
third_party/WebKit/Source/devtools/BUILD.gn | 1 +
.../devtools/front_end/common/ResourceType.js | 2 +-
.../WebKit/Source/devtools/front_end/main/Main.js | 2 +
.../front_end/network/NetworkConfigView.js | 138 +++++++++-
.../Source/devtools/front_end/network/module.json | 3 +-
.../front_end/network/networkConfigView.css | 52 ++++
.../devtools/front_end/persistence/Automapping.js | 6 +-
.../persistence/NetworkPersistenceManager.js | 304 +++++++++++++++++++++
.../front_end/persistence/PersistenceUtils.js | 3 +
.../devtools/front_end/persistence/module.json | 4 +-
.../front_end/source_frame/UISourceCodeFrame.js | 18 ++
.../devtools/front_end/sources/NavigatorView.js | 29 +-
12 files changed, 556 insertions(+), 6 deletions(-)

Upstream: git.chromium.org


  • Share