[webkit-changes] [WebKit/WebKit] 91285f: HTMLMediaElement::ensureMediaControls() should han...

Commit Queue noreply at github.com
Sat May 4 17:36:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 91285f2f6800e5031c656e2ccad4352fe88b1d3b
      https://github.com/WebKit/WebKit/commit/91285f2f6800e5031c656e2ccad4352fe88b1d3b
  Author: Mark Lam <mark.lam at apple.com>
  Date:   2024-05-04 (Sat, 04 May 2024)

  Changed paths:
    M Source/WebCore/html/HTMLMediaElement.cpp

  Log Message:
  -----------
  HTMLMediaElement::ensureMediaControls() should handle its own exceptions.
https://bugs.webkit.org/show_bug.cgi?id=273706
rdar://126757731

Reviewed by Yusuke Suzuki and Jer Noble.

Ensure that setupAndCallJS() handles any uncaught exceptions before returning.  This makes
it such that the tasks that it calls do not needs to deal with this.

* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::ensureMediaControls):

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