blob: 888a934db4f783d8c14050c79a3ff05c34326261 [file] [log] [blame]
** set video.src
RUN(video.src = findMediaFile('video', 'content/test'))
EVENT(canplaythrough)
** simulate choosing a device from the menu
RUN(video.webkitShowPlaybackTargetPicker())
EVENT(webkitcurrentplaybacktargetiswirelesschanged)
** start playing
RUN(video.play())
EVENT(ended)
** reset video source
RUN(video.src = findMediaFile('video', 'content/test'))
RUN(video.play())
EVENT(webkitcurrentplaybacktargetiswirelesschanged)
END OF TEST