Bug 227593

Summary: WebAudio auto-play policy should come from top document
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, cdumez, commit-queue, ews-watchlist, glenn, jer.noble, philipj, ryanhaddad, sergio, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 227626    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch for landing
none
Updated patch none

Eric Carlson
Reported 2021-07-01 13:28:57 PDT
<audio> and <video> auto-play policy comes from the top document, WebAudio should too.
Attachments
Patch (13.18 KB, patch)
2021-07-01 13:41 PDT, Eric Carlson
no flags
Patch for landing (13.75 KB, patch)
2021-07-01 15:11 PDT, Eric Carlson
no flags
Updated patch (13.99 KB, patch)
2021-07-02 14:25 PDT, Eric Carlson
no flags
Eric Carlson
Comment 1 2021-07-01 13:29:16 PDT
Eric Carlson
Comment 2 2021-07-01 13:41:57 PDT
Chris Dumez
Comment 3 2021-07-01 13:51:57 PDT
Comment on attachment 432720 [details] Patch r=me with improvement suggestion
Eric Carlson
Comment 4 2021-07-01 15:11:04 PDT
Created attachment 432728 [details] Patch for landing
EWS
Comment 5 2021-07-01 17:08:37 PDT
Committed r279487 (239339@main): <https://commits.webkit.org/239339@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 432728 [details].
Aakash Jain
Comment 6 2021-07-02 07:43:17 PDT
(In reply to EWS from comment #5) > Committed r279487 (239339@main): <https://commits.webkit.org/239339@main> This added broken test on iOS: media/auto-play-video-in-about-blank-iframe.html This was also indicated by ios-wk2 ews (https://ews-build.webkit.org/#/builders/51/builds/16871). History: https://results.webkit.org/?suite=layout-tests&test=media%2Fauto-play-video-in-about-blank-iframe.html
WebKit Commit Bot
Comment 7 2021-07-02 07:44:17 PDT
Re-opened since this is blocked by bug 227626
Eric Carlson
Comment 8 2021-07-02 14:25:10 PDT
Created attachment 432822 [details] Updated patch
EWS
Comment 9 2021-07-04 09:53:15 PDT
Committed r279550 (239386@main): <https://commits.webkit.org/239386@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 432822 [details].
Note You need to log in before you can comment on or make changes to this bug.