[webkit-changes] [WebKit/WebKit] 94407e: Remove all `HTMLMediaElement`'s tracks event liste...

Vitaly Dyachkov noreply at github.com
Tue Jan 16 04:54:24 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 94407ea36c06449630fd1837c57a74f12fcb0b94
      https://github.com/WebKit/WebKit/commit/94407ea36c06449630fd1837c57a74f12fcb0b94
  Author: Vitaly Dyachkov <vitaly at igalia.com>
  Date:   2024-01-16 (Tue, 16 Jan 2024)

  Changed paths:
    M LayoutTests/platform/wpe/TestExpectations
    M LayoutTests/platform/wpe/fullscreen/exit-full-screen-video-crash-expected.txt
    M Source/WebCore/dom/Element.h
    M Source/WebCore/html/HTMLMediaElement.cpp
    M Source/WebCore/html/HTMLMediaElement.h

  Log Message:
  -----------
  Remove all `HTMLMediaElement`'s tracks event listeners
https://bugs.webkit.org/show_bug.cgi?id=267530

Reviewed by Ryosuke Niwa.

When `HTMLMediaElement::removeAllEventListeners()` is called we should
also remove all event listeners of all its tracks.

Combined changes:
* LayoutTests/platform/wpe/TestExpectations:
* LayoutTests/platform/wpe/fullscreen/exit-full-screen-video-crash-expected.txt:
* Source/WebCore/dom/Element.h:
* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::removeAllEventListeners):
* Source/WebCore/html/HTMLMediaElement.h:

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




More information about the webkit-changes mailing list