mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-24 02:09:28 +00: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