Bug 178723

Summary: Removing html5 audio tag keeps downloading resource
Product: WebKit Reporter: Istvan Szimon <poci>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Major CC: eric.carlson, herr.ernst, jeremyj-wk, jer.noble, jonlee, poci, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 11   
Hardware: iPhone / iPad   
OS: iOS 11   

Istvan Szimon
Reported 2017-10-24 06:15:52 PDT
When i try to change audio src tag with javascript, the previously set value keeps downloading in the browser. After 5 changes we have 5 parallel downloads in the background, thus preventing the switch. This is a huge issue for audio streams. Does not happen on iOS10. Tested with: iPhone 6 and 6S, iOS 11.0.3 with macOS high sierra debug console. Can be tested: http://jsbin.com/verafojive : network tab clearly shows that iPhone keeps downloading the previous sources. Thanks for any quick fixes too.
Attachments
Radar WebKit Bug Importer
Comment 1 2017-10-26 08:46:19 PDT
Istvan Szimon
Comment 2 2017-10-30 00:55:49 PDT
Example uploaded to JSFiddle, just in case
Istvan Szimon
Comment 3 2017-10-30 00:56:00 PDT
Jon Lee
Comment 4 2019-08-15 11:23:30 PDT
This should be fixed now.
Note You need to log in before you can comment on or make changes to this bug.