Screen locks while watching previously-muted-then-unmuted video
authorjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Nov 2019 23:56:41 +0000 (23:56 +0000)
committerjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Nov 2019 23:56:41 +0000 (23:56 +0000)
commitcee823f28ec94afe79569737082c71a7c35b7d6e
tree1d1c8fe202a7fe726757949dca8a8cd2fbd50f93
parent1c53372e946e47ef724967dd03084fafcc56a17c
Screen locks while watching previously-muted-then-unmuted video
https://bugs.webkit.org/show_bug.cgi?id=203906
<rdar://problem/55821375>

Reviewed by Eric Carlson.

Source/WebCore:

Test: media/video-unmuted-after-play-holds-sleep-assertion.html

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::setMuted):

LayoutTests:

* media/video-unmuted-after-play-holds-sleep-assertion-expected.txt: Added.
* media/video-unmuted-after-play-holds-sleep-assertion.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@252156 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/media/video-unmuted-after-play-holds-sleep-assertion-expected.txt [new file with mode: 0644]
LayoutTests/media/video-unmuted-after-play-holds-sleep-assertion.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/html/HTMLMediaElement.cpp