• clamy's avatar
    PlzNavigate: check report_raw_headers based on the main frame · b9073051
    clamy authored
    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}
    b9073051
render_frame_devtools_agent_host.cc 38 KB