Created attachment 309045 [details] reduced test case To reproduce just open the attached html test case. In Safari Technology Preview Release 29 (Safari 10.2, WebKit 12604.1.19.0.1) the iframe reloads forever, the audio in it is never playable. With Chrome 58.0.3029.81 beta (64-bit) and Firefox 53.0 the iframe only loads once and the audio is playable.
Assuming this was a general bug with dynamically generated documents in iframes, I tried replacing the media element with an img, but the issue does not reproduce. There's likely something specific about media causing onload to fire twice, so the iframe keeps getting reloaded over and over.
<rdar://problem/31990484>
<rdar://problem/31990490>
Note: This isn't a recent regression in STP as it also reproduces in Safari 10.1
(In reply to Brady Eidson from comment #4) > Note: This isn't a recent regression in STP as it also reproduces in Safari > 10.1 Also reproduced in Safari 10.0 Bummer.
Still reproduces with STP Release 62 (Safari 12.1, WebKit 13607.1.1)
Created attachment 451739 [details] updated test case still reproduces with Safari Version 15.3 (17612.4.9.1.5) with this updated test case (in the previous test case the url to the audio file stopped working)
I am able to reproduce this bug in Safari Technology Preview 180 using 'update test case' and it continues to reload while Firefox Nightly 120 and Chrome Canary 120 loads fine and allow playing audio. Adding 'BrowserCompat' tag to track it better.