NEW 275178
[GStreamer] vox.com article loads forever due to HTMLMediaElement never decrementing delayed load event count
https://bugs.webkit.org/show_bug.cgi?id=275178
Summary [GStreamer] vox.com article loads forever due to HTMLMediaElement never decre...
Michael Catanzaro
Reported 2024-06-05 12:25:58 PDT
Splitting this from bug #274727 because the underlying cause of the problem is different. The page https://www.vox.com/future-perfect/352359/milk-dairy-schools loads forever in GTK MiniBrowser and Epiphany using WebKitGTK 2.44.1 and 2.44.2. It finishes loading almost instantly in Firefox. It seems polyfill.min.js just never loads and there is either no timeout or an extremely excessive timeout.
Attachments
Michael Catanzaro
Comment 1 2024-06-05 13:36:34 PDT
This bug is not deterministic. It happens about half the time.
Michael Catanzaro
Comment 2 2024-06-05 14:16:46 PDT
This is an HTMLMediaElement bug. It calls Document::incrementLoadEventDelayCount and then never calls Document::decrementLoadEventDelayCount (at least not within a reasonable amount of time). Possibly a GStreamer backend bug? If you can't reproduce the bug on the first try, just reload the page a few times until you can. (There is also a loader bug here causing Stop to fail when this happens, bug #242248. Let's treat that separately, though.)
Philippe Normand
Comment 3 2024-06-06 01:25:29 PDT
Works fine in MiniBrowser/main.
Michael Catanzaro
Comment 4 2024-06-06 03:37:44 PDT
It was happening for me yesterday using MiniBrowser from yesterday's git main. But today I cannot reproduce it anymore. I'm now seeing a crash instead, bug #275205.
Karl Dubost
Comment 5 2024-06-06 22:04:20 PDT
fwiw, it loads instantly in Safari.
Note You need to log in before you can comment on or make changes to this bug.