[webkit-changes] [WebKit/WebKit] e34a8a: Call all completion handlers in RemoteMediaResource

Alex Christensen noreply at github.com
Tue Aug 1 10:55:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e34a8a93539dcdd415031a476a5931ffb6378606
      https://github.com/WebKit/WebKit/commit/e34a8a93539dcdd415031a476a5931ffb6378606
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-08-01 (Tue, 01 Aug 2023)

  Changed paths:
    M Source/WebKit/GPUProcess/media/RemoteMediaResource.cpp

  Log Message:
  -----------
  Call all completion handlers in RemoteMediaResource
https://bugs.webkit.org/show_bug.cgi?id=259668
rdar://113167672

Reviewed by Chris Dumez.

In the slim chance that the client is null, this could prevent load hangs.
It's always good to call a CompletionHandler in all code paths.

* Source/WebKit/GPUProcess/media/RemoteMediaResource.cpp:
(WebKit::RemoteMediaResource::responseReceived):
(WebKit::RemoteMediaResource::redirectReceived):

Canonical link: https://commits.webkit.org/266486@main




More information about the webkit-changes mailing list