mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 20:15:07 +00:00
LibWeb: Add missing invocation to forget a media element's tracks
On bandcamp, this missing invocation would cause a playlist to loop one single track indefinitely.
This commit is contained in:
parent
9cb4bf0683
commit
1c991e5582
1 changed files with 3 additions and 1 deletions
|
@ -476,7 +476,9 @@ WebIDL::ExceptionOr<void> HTMLMediaElement::load_element()
|
|||
m_fetch_controller->stop_fetch();
|
||||
|
||||
// FIXME: 3. If the media element's assigned media provider object is a MediaSource object, then detach it.
|
||||
// FIXME: 4. Forget the media element's media-resource-specific tracks.
|
||||
|
||||
// 4. Forget the media element's media-resource-specific tracks.
|
||||
forget_media_resource_specific_tracks();
|
||||
|
||||
// 5. If readyState is not set to HAVE_NOTHING, then set it to that state.
|
||||
if (m_ready_state != ReadyState::HaveNothing)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue