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

Issue 2628593002: PlzNavigate: check report_raw_headers based on the main frame (Closed)

Created:
3 years, 11 months ago by clamy
Modified:
3 years, 11 months ago
Reviewers:
dgozman
CC:
chromium-reviews, blink-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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} Committed: https://chromium.googlesource.com/chromium/src/+/b907305177b8605893e4c6c0f46226ecaacd93be

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase + addressed comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -5 lines) Patch
M content/browser/devtools/render_frame_devtools_agent_host.cc View 1 3 chunks +12 lines, -2 lines 2 comments Download
M third_party/WebKit/LayoutTests/FlagExpectations/enable-browser-side-navigation View 1 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
clamy
@dgozman: PTAL
3 years, 11 months ago (2017-01-10 17:18:55 UTC) #6
dgozman
https://codereview.chromium.org/2628593002/diff/1/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://codereview.chromium.org/2628593002/diff/1/content/browser/frame_host/navigation_request.cc#newcode638 content/browser/frame_host/navigation_request.cc:638: frame_tree_node_->frame_tree()->root()); In OOPIF world, this is not necessarily the ...
3 years, 11 months ago (2017-01-10 17:36:31 UTC) #7
clamy
Thanks! https://codereview.chromium.org/2628593002/diff/1/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://codereview.chromium.org/2628593002/diff/1/content/browser/frame_host/navigation_request.cc#newcode638 content/browser/frame_host/navigation_request.cc:638: frame_tree_node_->frame_tree()->root()); On 2017/01/10 17:36:31, dgozman wrote: > In ...
3 years, 11 months ago (2017-01-11 13:47:29 UTC) #12
dgozman
lgtm. Thanks! https://codereview.chromium.org/2628593002/diff/20001/content/browser/devtools/render_frame_devtools_agent_host.cc File content/browser/devtools/render_frame_devtools_agent_host.cc (right): https://codereview.chromium.org/2628593002/diff/20001/content/browser/devtools/render_frame_devtools_agent_host.cc#newcode96 content/browser/devtools/render_frame_devtools_agent_host.cc:96: return ShouldCreateDevToolsFor(ftn->current_frame_host()); On 2017/01/11 13:47:29, clamy wrote: ...
3 years, 11 months ago (2017-01-11 18:24:32 UTC) #15
clamy
Thanks!
3 years, 11 months ago (2017-01-11 18:27:08 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2628593002/20001
3 years, 11 months ago (2017-01-11 18:27:41 UTC) #18
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 18:42:03 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/b907305177b8605893e4c6c0f462...

Powered by Google App Engine
This is Rietveld 408576698