[Webkit-unassigned] [Bug 222091] [GTK] API test /WebKit2Gtk/TestWebKitPolicyClient:/webkit/WebKitPolicyClient/autoplay-policy is flaky timing out on EWS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 18 19:43:17 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=222091

--- Comment #1 from Lauro Moura <lmoura at igalia.com> ---
Not sure if related to the flakiness on the bots, but I'm getting consistent failures locally in this test too in the first ALLOW_WITHOUT_SOUND check (where no playback is expected).

Digging, there are some mediaPlayerVolumeChanged calls with 0 volume on the player, which zeroes the HTMLMediaElement volume, which in turn is making the audio check in MediaElementSession::playbackPermitted to allow playback regardless of the AllowWithoutSound policy.

Forcing the volume to 1 in the test (autoplay-check.html) makes the test pass.

What could be making the player emit those volumeChanged=0 calls?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210219/becb73f4/attachment.htm>


More information about the webkit-unassigned mailing list