Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7bd7bbbe097cfa549fbdaa60357c2d3a4c9cb6ba
      
https://github.com/WebKit/WebKit/commit/7bd7bbbe097cfa549fbdaa60357c2d3a4c9cb6ba
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2025-04-23 (Wed, 23 Apr 2025)

  Changed paths:
    A LayoutTests/ipc/invalid-addSourceBuffer-to-GPU-process-crash-expected.txt
    A LayoutTests/ipc/invalid-addSourceBuffer-to-GPU-process-crash.html
    M Source/WebCore/platform/graphics/MediaPlayer.cpp
    M Source/WebKit/GPUProcess/media/RemoteMediaSourceProxy.cpp

  Log Message:
  -----------
  [MSE] Assertion in WebKit::RemoteMediaSourceProxy::addSourceBuffer
https://bugs.webkit.org/show_bug.cgi?id=291932
rdar://149290374

Reviewed by Youenn Fablet.

The completion handler given to RemoteMediaSourceProxy::addSourceBuffer
wasn't always called.
Ensure the completion handler is called when the RemoteMediaSourceProxy is
in a bad state, including when RemoteMediaSourceProxy::setPrivateAndOpen wasn't 
called.

Add crash test.
* LayoutTests/ipc/invalid-addSourceBuffer-to-GPU-process-crash-expected.txt: 
Added.
* LayoutTests/ipc/invalid-addSourceBuffer-to-GPU-process-crash.html: Added.
* Source/WebKit/GPUProcess/media/RemoteMediaSourceProxy.cpp:
(WebKit::RemoteMediaSourceProxy::addSourceBuffer):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to