[webkit-changes] [WebKit/WebKit] 2a5102: REGRESSION(284930 at main) New assertion triggered in...

Sihui noreply at github.com
Thu Oct 10 08:47:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2a5102d008a453b3d4f8e405e8a0995bd2e1c6f5
      https://github.com/WebKit/WebKit/commit/2a5102d008a453b3d4f8e405e8a0995bd2e1c6f5
  Author: Sihui Liu <sihui_liu at apple.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M Source/WebKit/UIProcess/WebProcessProxy.cpp

  Log Message:
  -----------
  REGRESSION(284930 at main) New assertion triggered in API tests
https://bugs.webkit.org/show_bug.cgi?id=281225
rdar://137677600

Reviewed by Ryosuke Niwa.

The assertion ensures m_routingArbitrator will not be created multiple times (i.e. media playback is not enabled
multiple times), so add an early return when media playback is already enabled.

* Source/WebKit/UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::enableMediaPlaybackIfNecessary):

Canonical link: https://commits.webkit.org/284971@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