Bug 206524

Summary: audio element with stream never stops loading
Product: WebKit Reporter: Jonathan <jonathan>
Component: MediaAssignee: 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
Reported 2020-01-21 04:29:27 PST
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
Radar WebKit Bug Importer
Comment 1 2020-01-22 15:43:57 PST
Radar WebKit Bug Importer
Comment 2 2020-01-22 15:43:59 PST
Note You need to log in before you can comment on or make changes to this bug.