[MediaStream] Add "has capture device" bit to media state flags
[WebKit-https.git] / LayoutTests / fast / mediastream / MediaStream-page-muted-expected.txt
1 Test enabling/disabling mock media capture devices
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6
7 *** Mock capture devices should be enabled by default
8 PASS mediaStream is an instance of Object
9 PASS mediaStream.getTracks().length is 2
10 PASS window.internals.pageMediaState().includes('HasActiveMediaCaptureDevice') became true
11
12 *** Muting capture devices
13 EVENT: mute
14 PASS muteChangedEvent.target.muted is true
15 PASS window.internals.pageMediaState().includes('HasMediaCaptureDevice') is true
16 EVENT: mute
17 PASS muteChangedEvent.target.muted is true
18 PASS window.internals.pageMediaState().includes('HasMediaCaptureDevice') is true
19
20 PASS window.internals.pageMediaState().includes('HasActiveMediaCaptureDevice') became false
21
22 *** Unmuting capture devices
23 EVENT: unmute
24 PASS muteChangedEvent.target.muted is false
25 PASS window.internals.pageMediaState().includes('HasMediaCaptureDevice') is true
26 EVENT: unmute
27 PASS muteChangedEvent.target.muted is false
28 PASS window.internals.pageMediaState().includes('HasMediaCaptureDevice') is true
29
30 PASS window.internals.pageMediaState().includes('HasActiveMediaCaptureDevice') became true
31 PASS successfullyParsed is true
32
33 TEST COMPLETE
34