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: InRadar
Depends on:
Blocks:
 
Reported: 2017-05-04 07:16 PDT by Dieter Komendera
Modified: 2018-08-05 11:11 PDT (History)
5 users (show)

See Also:


Attachments
reduced test case (1.00 KB, text/html)
2017-05-04 07:16 PDT, 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)