Bug 171659

Summary: iframe with audio tag reloads forever
Product: WebKit Reporter: Dieter Komendera <dieter>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792, beidson, eric.carlson, jer.noble, jond, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
URL: https://nextjournal.com/mpd/reverse-engineering-an-opera
Attachments:
Description Flags
reduced test case
none
updated test case none

Description Dieter Komendera 2017-05-04 07:16:19 PDT
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.
Comment 1 Brady Eidson 2017-05-04 09:35:34 PDT
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.
Comment 2 Radar WebKit Bug Importer 2017-05-04 09:35:51 PDT
<rdar://problem/31990484>
Comment 3 Radar WebKit Bug Importer 2017-05-04 09:36:00 PDT
<rdar://problem/31990490>
Comment 4 Brady Eidson 2017-05-04 09:38:20 PDT
Note: This isn't a recent regression in STP as it also reproduces in Safari 10.1
Comment 5 Brady Eidson 2017-05-04 09:46:51 PDT
(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.
Comment 6 Dieter Komendera 2018-08-05 11:11:26 PDT
Still reproduces with STP Release 62 (Safari 12.1, WebKit 13607.1.1)
Comment 7 Dieter Komendera 2022-02-11 13:41:54 PST
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)
Comment 8 Ahmad Saleem 2023-10-12 17:33:16 PDT
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.