Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: eb9354ae86c5e349a0540457c53afc0831ed7dc0
      
https://github.com/WebKit/WebKit/commit/eb9354ae86c5e349a0540457c53afc0831ed7dc0
  Author: Simon Pena <[email protected]>
  Date:   2026-06-02 (Tue, 02 Jun 2026)

  Changed paths:
    A 
LayoutTests/media/encrypted-media/mock-MediaKeySession-concurrent-close-expected.txt
    A 
LayoutTests/media/encrypted-media/mock-MediaKeySession-concurrent-close.html
    M Source/WebCore/Modules/encryptedmedia/MediaKeySession.cpp

  Log Message:
  -----------
  [EME] Protect MediaKeySession::sessionClosed from concurrent calls
https://bugs.webkit.org/show_bug.cgi?id=315842

Reviewed by Xabier Rodriguez-Calvar.

Add an additional m_closed check in MediaKeySession::sessionClosed to
account from multiple queued counts to close().

Test: media/encrypted-media/mock-MediaKeySession-concurrent-close.html

* 
LayoutTests/media/encrypted-media/mock-MediaKeySession-concurrent-close-expected.txt:
 Added.
* LayoutTests/media/encrypted-media/mock-MediaKeySession-concurrent-close.html: 
Added.
* Source/WebCore/Modules/encryptedmedia/MediaKeySession.cpp:
(WebCore::MediaKeySession::sessionClosed):

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



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

Reply via email to