Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(790)

Unified Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp

Issue 2611183007: PlzNavigate: Fix for the http/tests/inspector/resource-har-conversion.html layout test failure. (Closed)
Patch Set: Rebaseline enable-browser-side-navigation Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698