Chromium Code Reviews| Index: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
| diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
| index 5d780754d11f74d3f14ae9294a9a6be4da8d3351..9883ad9dc0ab3b99ca1810e9046f9f5342a4e79a 100644 |
| --- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
| +++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
| @@ -552,6 +552,9 @@ NavigationPolicy FrameLoaderClientImpl::decidePolicyForNavigation( |
| navigationInfo.isHistoryNavigationInNewChildFrame = |
| isHistoryNavigationInNewChildFrame; |
| navigationInfo.isClientRedirect = isClientRedirect; |
| + // Caching could be disabled for requests initiated by DevTools. |
| + navigationInfo.isCacheDisabled = |
| + devToolsAgent() ? devToolsAgent()->cacheDisabled() : false; |
|
pfeldman
2017/01/10 23:10:05
Request already carries cache policy that inspecto
|
| if (form) |
| navigationInfo.form = WebFormElement(form); |