mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-08 16:12:23 +02:00
There's an unfortunate hack here. We have to load the media file's data before we call `HTML::HTMLParser::the_end()` with our generated document, otherwise the media element (`<img>`/`<audio>`/`<video>`) never loads and that blocks the document's load event. The previous code path also did this, which is perhaps why the bug was never noticed.
30 KiB
30 KiB