-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
5739c4b
commit 94407ea
Showing
5 changed files
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
LayoutTests/platform/wpe/fullscreen/exit-full-screen-video-crash-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
CONSOLE MESSAGE: Unhandled Promise Rejection: InvalidStateError: The object is in an invalid state. | ||
CONSOLE MESSAGE: Unhandled Promise Rejection: TypeError: Type error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters