NEW 247261
Audio elements with preload=none still result in metadata request
https://bugs.webkit.org/show_bug.cgi?id=247261
Summary Audio elements with preload=none still result in metadata request
Aphrodite
Reported 2022-10-31 08:42:38 PDT
Created attachment 463319 [details] Example audio media elements Our application has a significant number of audio elements that are created, with preload=none. On all non-webkit browsers, this currently does not cause a problem. However on iOS safari, chrome, firefox, and Mac Safari, there are several seconds of the page fully freezing when the new audio tracks are created. This issue completely disappears when the audio elements are removed from their locations, so the web application is clearly reading them. See attached screenshots of the behavior.
Attachments
Example audio media elements (36.80 KB, image/png)
2022-10-31 08:42 PDT, Aphrodite
no flags
When a large number of audio tag are created, even when preload=none, there is a long period of max CPU and little other activity (142.45 KB, image/png)
2022-10-31 08:53 PDT, Aphrodite
no flags
Whereas the issue fully disappears if audio is moved, leading us to the conclusion that the page is trying to either preload the audio or fetch metadata (421.85 KB, image/png)
2022-10-31 08:54 PDT, Aphrodite
no flags
Aphrodite
Comment 1 2022-10-31 08:53:13 PDT
Created attachment 463320 [details] When a large number of audio tag are created, even when preload=none, there is a long period of max CPU and little other activity
Aphrodite
Comment 2 2022-10-31 08:54:08 PDT
Created attachment 463321 [details] Whereas the issue fully disappears if audio is moved, leading us to the conclusion that the page is trying to either preload the audio or fetch metadata
Radar WebKit Bug Importer
Comment 3 2022-11-07 07:43:19 PST
Note You need to log in before you can comment on or make changes to this bug.