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

Issue 19597008: If a resource load is started as the CachedResourceLoader is going away, make sure we remove the Ca… (Closed)

Created:
7 years, 5 months ago by Nate Chapin
Modified:
7 years, 5 months ago
Reviewers:
abarth-chromium
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, gavinp+loader_chromium.org
Visibility:
Public.

Description

If a resource load is started as the CachedResourceLoader is going away, make sure we remove the CachedResource from the MemoryCache. This was regressed in r149483. BUG=257316 TEST=ResourceFetcherTest.StartLoadAfterFrameDetach Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154852

Patch Set 1 #

Total comments: 1

Patch Set 2 : + test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -19 lines) Patch
M Source/core/core.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/loader/cache/ResourceFetcher.cpp View 1 1 chunk +4 lines, -5 lines 0 comments Download
A + Source/core/loader/cache/ResourceFetcherTest.cpp View 1 1 chunk +25 lines, -14 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Nate Chapin
If you have ideas on how to layout tests this, I'm interested to hear them. ...
7 years, 5 months ago (2013-07-23 23:13:17 UTC) #1
abarth-chromium
LGTM If we had a most fleshed out unit testing harness for this code, we ...
7 years, 5 months ago (2013-07-23 23:21:56 UTC) #2
Nate Chapin
On 2013/07/23 23:21:56, abarth wrote: > LGTM > > If we had a most fleshed ...
7 years, 5 months ago (2013-07-24 17:14:01 UTC) #3
abarth-chromium
LGTM. I'm a bit worried that this sort of test will make the code harder ...
7 years, 5 months ago (2013-07-24 19:55:08 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/japhet@chromium.org/19597008/11001
7 years, 5 months ago (2013-07-24 19:55:59 UTC) #5
commit-bot: I haz the power
7 years, 5 months ago (2013-07-24 22:35:20 UTC) #6
Message was sent while issue was closed.
Change committed as 154852

Powered by Google App Engine
This is Rietveld 408576698