DescriptionEvict CachedResources if they are cancelled due to last client being removed.
Currently, it's possible for a CachedResource to be cancelled when the last
client is removed, but to remain in the cache in an inconsistent state, such
that future requested will hang. Evict the resource from the cache as part of
its cancellation.
Also, don't start the cancel timer if a load isn't in progress.
BUG=251181
TEST=CachedImageTest.CancelOnDetach
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152686
Patch Set 1 #
Total comments: 2
Patch Set 2 : #
Messages
Total messages: 7 (0 generated)
|