Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 116a737926d32533ac298d89e646e405e7883f00
      
https://github.com/WebKit/WebKit/commit/116a737926d32533ac298d89e646e405e7883f00
  Author: Chris Dumez <[email protected]>
  Date:   2026-07-27 (Mon, 27 Jul 2026)

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

  Log Message:
  -----------
  Legacy EME generateKeyRequest returns a bogus destination URL due to leftover 
debug scaffolding
https://bugs.webkit.org/show_bug.cgi?id=320147

Reviewed by Jean-Yves Avenard.

RemoteLegacyCDMSessionProxy::generateKeyRequest() calls into the CDM's
generateKeyRequest(), which fills the destinationURL out-parameter with
the real key-request destination. However, a leftover test string
("this is a test string") unconditionally overwrote destinationURL
before it was passed back to the WebProcess via the completion handler.
This debug scaffolding has been present since the original 2020
implementation (221729@main). Remove it so the real destination URL
is returned.

* Source/WebKit/GPUProcess/media/RemoteLegacyCDMSessionProxy.cpp:
(WebKit::RemoteLegacyCDMSessionProxy::generateKeyRequest): Remove the
leftover test-string assignment that clobbered the destinationURL
out-parameter.

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



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

Reply via email to