allada@ is currently working on moving this feature to the new devtools request interceptor, so it makes sense to ensure that interceptor works with PlzNavigate as expected.
I am glad to hear that, it makes sense. I took a look at the design doc. https://docs.google.com/document/d/1nEN0SqC1jEpHgKuQPrppwSabC8JRAuJb7MSTGCe2Pzg/edit
The devtool request interceptor mainly lives on the browser-side in content/browser, which is nicer if we want it to work with PlzNavigate. It certainly works very well today. I saw in the design doc that PlzNavigate was taken into account.
So maybe it doesn't worth to try to fix it. It is probably better for me to take a look at devtools_url_request_interceptor instead and try to make it fail with PlzNavigate. Thanks!
After some discussion we have the following plan:
- move the implementation to browser;
- mark matching requests in renderer as "skip cache" to avoid the situation where the request does not reach the network at all.
Comment 1 by arthurso...@chromium.org
, Aug 23 2017