Bug 171659 - iframe with audio tag reloads forever
Summary: iframe with audio tag reloads forever
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://nextjournal.com/mpd/reverse-e...
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2017-05-04 07:16 PDT by Dieter Komendera
Modified: 2023-10-12 17:33 PDT (History)
6 users (show)

See Also:


Attachments
reduced test case (1.00 KB, text/html)
2017-05-04 07:16 PDT, Dieter Komendera
no flags Details
updated test case (1.03 KB, text/html)
2022-02-11 13:41 PST, Dieter Komendera
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.