DescriptionGuard ResourceLoader::didReceiveData in error case.
A subresource can receive a body on a 404 if its call to
CachedResource::error() happens around a nested message loop. This can
cause a crash when data finally is received.
This is a regression brought about by refactoring, I thought I fixed
this in https://bugs.webkit.org/show_bug.cgi?id=103563 , but the fix
dissapeared.
Tested in a content_browsertest, see
https://codereview.chromium.org/15738007/ which can land after this is
gardened in.
BUG=241139
R=japhet
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=151609
Patch Set 1 #Patch Set 2 : add comment #Messages
Total messages: 16 (0 generated)
|