Files
servo/components/script/dom/html
Andrei Volykhin 87e8e1ac50 html: Add new media tracks when receiving the initial media metadata event (#40917)
The new audio/video tracks should be added to the media element from the
initial `metadata` event from the media engine because there are
possibility of the multiple `metadata` events without any associated
`media track` state changes and previously the application added new
tracks into lists unconditionally.

The registered issue to handle possible dynamic `media track` state
changes from the media engine gracefully.
https://github.com/servo/media/issues/473

Testing: Improvements in the following tests
-
html/semantics/embedded-content/the-video-element/video_size_preserved_after_ended.html

Fixes: https://github.com/servo/servo/issues/32623

Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com>
2025-11-27 07:45:59 +00:00
..