[webkit-changes] [WebKit/WebKit] 125f2a: WebCoreDecompressionSession: ASSERTION FAILED: m_p...

Jean-Yves Avenard noreply at github.com
Fri Oct 11 07:16:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 125f2aee60071b541d7f700ca8d5f0f7a449d9bc
      https://github.com/WebKit/WebKit/commit/125f2aee60071b541d7f700ca8d5f0f7a449d9bc
  Author: Jean-Yves Avenard <jya at apple.com>
  Date:   2024-10-11 (Fri, 11 Oct 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/cocoa/WebCoreDecompressionSession.mm

  Log Message:
  -----------
  WebCoreDecompressionSession: ASSERTION FAILED: m_promise
https://bugs.webkit.org/show_bug.cgi?id=281285
rdar://137735570

Reviewed by Youenn Fablet.

When decoding VP8 through the WebCoreDecompressionSession, the output callback may
get called more than once.
As a temporary measure, we ignore following calls so that the NativePromise producer is only ever resolved once.

Test will be added in webkit.org/b/281106.

* Source/WebCore/platform/graphics/cocoa/WebCoreDecompressionSession.mm:
(WebCore::WebCoreDecompressionSession::decodeSample):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list