PlzNavigate: check report_raw_headers based on the main frame
Currently we attempt to query RenderFrameDevToolsAgentHost::IsNetworkHandlerEnabled based on the frame that is navigating. However, there may not be a RenderFrameDevToolsAgentHost for a subframe that is navigating even though there is one for the top-level frame, where the NetworkHandler is active. This prevents from properly reporting headers in subframe navigations. BUG=551000 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2628593002 Cr-Commit-Position: refs/heads/master@{#442961}
Showing
Please register or sign in to comment