Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5c31f3d5133ee91e446d473632899f0b01b133fc
      
https://github.com/WebKit/WebKit/commit/5c31f3d5133ee91e446d473632899f0b01b133fc
  Author: Charlie Wolfe <[email protected]>
  Date:   2026-06-17 (Wed, 17 Jun 2026)

  Changed paths:
    M Source/WebCore/Modules/webcodecs/WebCodecsAudioEncoder.cpp
    M Source/WebCore/Modules/webcodecs/WebCodecsVideoEncoder.cpp

  Log Message:
  -----------
  WebCodecsAudioEncoder logs an allocation error on the success path
https://bugs.webkit.org/show_bug.cgi?id=316981
rdar://179453011

Reviewed by Jean-Yves Avenard.

RELEASE_LOG_ERROR_IF(!!arrayBuffer, ...) logged "Cannot create array buffer" 
when the description
ArrayBuffer was allocated successfully and stayed silent on the actual 
allocation failure. Invert
the gate to !arrayBuffer.

* Source/WebCore/Modules/webcodecs/WebCodecsAudioEncoder.cpp:
(WebCore::WebCodecsAudioEncoder::createEncodedChunkMetadata):

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



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

Reply via email to