Bug 206524
Summary: | audio element with stream never stops loading | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jonathan <jonathan> |
Component: | Media | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | jer.noble, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari Technology Preview | ||
Hardware: | All | ||
OS: | All |
Jonathan
When creating an audio element with an mp3 or aac stream, the network request intermittently keeps loading after unloading it.
I have made a reproducible example here: https://7c5c8.csb.app
Example source code can be viewed here: https://codesandbox.io/s/zealous-blackburn-7c5c8
A movie demonstrating the example in combination with the network tab here: https://www.dropbox.com/s/gzro7iimjxafsbb/audio-unload-bug.mov?dl=0
Click the button to create an audio element with a streaming url as its src. The second click on the button unloads the audio element, but in the network tab you will see that the request keeps running regardless.
I have tested this on both desktop and mobile versions of safari. On desktop I have also checked that it occurs in the Safari Technology Preview.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/58814164>
Radar WebKit Bug Importer
<rdar://problem/58814166>