blob: 7ee1092fca144342af0c2374df9cd5ec808d291b [file] [log] [blame]
Test that when RequireUserGestureForAudioRateChange is set, setting muted with a user gesture clears the restriction.
RUN(internals.setMediaElementRestrictions(video, "RequireUserGestureForAudioRateChange"))
RUN(video.src = findMediaFile("audio", "content/test"))
EVENT(canplaythrough)
RUN(video.play())
EVENT(playing)
RUN(video.muted = false)
END OF TEST