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

Issue 2541543002: Kill vestigial transfer requests (Closed)

Created:
4 years ago by Charlie Harrison
Modified:
4 years ago
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/pending/branch-heads/2924
Project:
chromium
Visibility:
Public.

Description

Kill vestigial transfer requests When requests are marked as transferring, we mark them as protected in the ResourceDispatcherHostImpl, so when their RFH goes away we won't lose the request. However, there are cases where the transfer can fail, and the navigation abandoned, while the request on the IO thread is still marked as protected. This patch catches that case by checking for transferring navigation handles in ~RFH, and cancelling them there. Browser test written by lukasza@chromium.org BUG=657195 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2508973006 Cr-Commit-Position: refs/heads/master@{#433430} (cherry picked from commit f2466b80b0cd892d31fdf69a397905eaacbfb3b5) TBR=creis@chromium.org,lukasza@chromium.org NOTRY=true NOPRESUBMIT=true

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -1 line) Patch
M content/browser/frame_host/navigation_handle_impl.cc View 3 chunks +16 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/site_per_process_browsertest.cc View 3 chunks +62 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
Charlie Harrison
Merging vestigial transfer requests to M56 TBR creis, lukasza
4 years ago (2016-11-29 15:18:47 UTC) #3
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/2541543002/1
4 years ago (2016-11-29 15:19:14 UTC) #5
commit-bot: I haz the power
CLs for remote refs other than refs/pending/heads/master must contain NOTRY=true and NOPRESUBMIT=true in order for ...
4 years ago (2016-11-29 15:19:15 UTC) #7
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/2541543002/1
4 years ago (2016-11-29 15:20:19 UTC) #10
commit-bot: I haz the power
4 years ago (2016-11-29 15:24:27 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1)

Powered by Google App Engine
This is Rietveld 408576698