If a media element is not muted but its volume is 0, we should not impose an audio playback restriction.
rdar://problem/31149965
Created attachment 305045 [details] Patch
r214239
This change appears to have caused API test WebKit2.WebsitePoliciesAutoplayEnabled to time out on iOS Simulator: https://build.webkit.org/builders/Apple%20iOS%2010%20Simulator%20Debug%20WK2%20%28Tests%29/builds/92
(In reply to Ryan Haddad from comment #4) > This change appears to have caused API test > WebKit2.WebsitePoliciesAutoplayEnabled to time out on iOS Simulator: > https://build.webkit.org/builders/ > Apple%20iOS%2010%20Simulator%20Debug%20WK2%20%28Tests%29/builds/92 Oh, interesting. Volume changes to media elements are not supported on iOS. I'll have the test only run on Mac.
(In reply to Matt Rajca from comment #5) > (In reply to Ryan Haddad from comment #4) > > This change appears to have caused API test > > WebKit2.WebsitePoliciesAutoplayEnabled to time out on iOS Simulator: > > https://build.webkit.org/builders/ > > Apple%20iOS%2010%20Simulator%20Debug%20WK2%20%28Tests%29/builds/92 > > Oh, interesting. Volume changes to media elements are not supported on iOS. > I'll have the test only run on Mac. Can this change be landed soon? It would be great to get the iOS bots back to green again.
(In reply to Ryan Haddad from comment #6) > (In reply to Matt Rajca from comment #5) > > (In reply to Ryan Haddad from comment #4) > > > This change appears to have caused API test > > > WebKit2.WebsitePoliciesAutoplayEnabled to time out on iOS Simulator: > > > https://build.webkit.org/builders/ > > > Apple%20iOS%2010%20Simulator%20Debug%20WK2%20%28Tests%29/builds/92 > > > > Oh, interesting. Volume changes to media elements are not supported on iOS. > > I'll have the test only run on Mac. > > Can this change be landed soon? It would be great to get the iOS bots back > to green again. Working on it now. https://bugs.webkit.org/show_bug.cgi?id=169969