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

Issue 2396393002: Revert of Clear mojo URLLoaderClient in ResourceDispatcher on cancellation (Closed)

Created:
4 years, 2 months ago by Finnur
Modified:
4 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Clear mojo URLLoaderClient in ResourceDispatcher on cancellation (patchset #2 id:20001 of https://codereview.chromium.org/2399463002/ ) Reason for revert: This is a speculative revert... Two tests started failing somewhat reliably on Win7 in the build where this was checked in and all the other CLs in that build look completely unrelated. NavigatingExtensionPopupBrowserTest.DownloadViaPost PageLoadMetricsBrowserTest.IgnoreDownloads https://build.chromium.org/p/chromium.win/builders/Win7%20%2832%29%20Tests I've actually already disabled the NavigatingExtensionPopupBrowserTest in a separate CL, but if the PageLoadMetricsBrowserTest doesn't get fixed with this revert then we can undo the revert. Original issue's description: > Clear mojo URLLoaderClient in ResourceDispatcher on cancellation > > If a URL request is cancelled by a requester, there's a chance on > URLResponseBodyConsumer to run OnReadable() on an invalid > ResourceDispatcher::PendingRequestInfo. That causes a null pointer > access. > > This CL clears the URLLoaderClient earlier in the cancellation phase to > avoid the crash. > > BUG=603396 > > Committed: https://crrev.com/bc1ffa6150628c6ddb8ae3cf51b8e9d0e965f1a4 > Cr-Commit-Position: refs/heads/master@{#423779} TBR=yhirano@chromium.org,jam@chromium.org,tzik@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=603396 Committed: https://crrev.com/f99b117244d8e8e0a9ca0e7ad775a98e77c94f9c Cr-Commit-Position: refs/heads/master@{#423868}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -4 lines) Patch
M content/child/resource_dispatcher.cc View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
Finnur
Created Revert of Clear mojo URLLoaderClient in ResourceDispatcher on cancellation
4 years, 2 months ago (2016-10-07 15:51:10 UTC) #2
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/2396393002/1
4 years, 2 months ago (2016-10-07 15:51:28 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-07 15:52:20 UTC) #7
Finnur
Fellow sheriffs: Weekend is almost upon us here in Europe and the shift about to ...
4 years, 2 months ago (2016-10-07 15:53:55 UTC) #8
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/f99b117244d8e8e0a9ca0e7ad775a98e77c94f9c Cr-Commit-Position: refs/heads/master@{#423868}
4 years, 2 months ago (2016-10-07 15:53:56 UTC) #10
Finnur
Adding Łukasz, who is looking into his test failure (and monitoring this on the side).
4 years, 2 months ago (2016-10-07 15:56:26 UTC) #13
Finnur
And... as I check this in I notice the bot has surprisingly turned green all ...
4 years, 2 months ago (2016-10-07 16:01:58 UTC) #15
gab
On 2016/10/07 16:01:58, Finnur wrote: > And... as I check this in I notice the ...
4 years, 2 months ago (2016-10-07 16:42:32 UTC) #16
gab
On 2016/10/07 16:42:32, gab wrote: > On 2016/10/07 16:01:58, Finnur wrote: > > And... as ...
4 years, 2 months ago (2016-10-07 16:55:59 UTC) #17
gab
4 years, 2 months ago (2016-10-07 16:56:20 UTC) #18
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2400263002/ by gab@chromium.org.

The reason for reverting is: Still flakes after this revert, relanding..

Powered by Google App Engine
This is Rietveld 408576698