Changeset 284694 in webkit
- Timestamp:
- Oct 22, 2021, 11:03:34 AM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/network/cocoa/RangeResponseGenerator.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r284693 r284694 1 2021-10-22 Alex Christensen <achristensen@webkit.org> 2 3 Remove release assertion in MediaResourceClient::responseReceived 4 https://bugs.webkit.org/show_bug.cgi?id=232121 5 6 Reviewed by David Kilzer. 7 8 I tried and was unable to reproduce this, even with multipart responses which can call didReceiveResponse multiple times in the same load. 9 In any case, it's clear where the crash is and that this assertion can be hit. Not continuing with the response is better than crashing. 10 Keep the debug assertion because if it is hit, we want to notice. 11 12 * platform/network/cocoa/RangeResponseGenerator.mm: 13 1 14 2021-10-22 Antti Koivisto <antti@apple.com> 2 15 -
trunk/Source/WebCore/platform/network/cocoa/RangeResponseGenerator.mm
r284093 r284694 214 214 void responseReceived(PlatformMediaResource&, const ResourceResponse&, CompletionHandler<void(ShouldContinuePolicyCheck)>&& completionHandler) final 215 215 { 216 RELEASE_ASSERT_NOT_REACHED();216 ASSERT_NOT_REACHED(); 217 217 completionHandler(ShouldContinuePolicyCheck::No); 218 218 }
Note:
See TracChangeset
for help on using the changeset viewer.