[iOS] Video occasionally mixes with other system audio instead of interrupting
[WebKit-https.git] / LayoutTests / platform / mac / media / audio-session-category-video-track-change-expected.txt
1
2 RUN(internals.settings.setShouldManageAudioSessionCategory(true))
3 RUN(video.src = findMediaFile("video", "../../../media/content/test"))
4 EVENT(canplay)
5 EXPECTED (internals.audioSessionCategory() == 'None') OK
6 RUN(video.audioTracks[0].enabled = false)
7 EVENT(change)
8 EXPECTED (internals.audioSessionCategory() == 'None') OK
9 RUN(video.muted = false)
10 EVENT(volumechange)
11 EXPECTED (internals.audioSessionCategory() == 'None') OK
12 RUN(video.play())
13 EVENT(playing)
14 EXPECTED (internals.audioSessionCategory() == 'None') OK
15 RUN(video.audioTracks[0].enabled = true)
16 EVENT(change)
17 EXPECTED (internals.audioSessionCategory() == 'MediaPlayback') OK
18 END OF TEST
19