| Tests MediaDevices.enumerateDevices() |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| |
| PASS navigator.mediaDevices is an instance of Object |
| PASS navigator.mediaDevices.enumerateDevices is an instance of Function |
| |
| |
| *** Calling mediaDevices.enumerateDevices without persistent access, and without a media stream track |
| |
| PASS captureDevices.length is non-zero. |
| |
| PASS captureDevice.kind is non-null. |
| PASS captureDevice.deviceId is non-null. |
| PASS captureDevice.label is non-null. |
| PASS captureDevice.label is "" |
| PASS captureDevice.groupId is non-null. |
| |
| PASS captureDevice.kind is non-null. |
| PASS captureDevice.deviceId is non-null. |
| PASS captureDevice.label is non-null. |
| PASS captureDevice.label is "" |
| PASS captureDevice.groupId is non-null. |
| |
| |
| *** Calling mediaDevices.enumerateDevices with persistent access, and without a media stream track |
| |
| PASS captureDevices.length is non-zero. |
| |
| PASS captureDevice.kind is non-null. |
| PASS captureDevice.deviceId is non-null. |
| PASS captureDevice.label is non-null. |
| PASS captureDevice.label is not "" |
| PASS captureDevice.groupId is non-null. |
| PASS deviceIds.indexOf(captureDevice.deviceId) is not -1 |
| |
| PASS captureDevice.kind is non-null. |
| PASS captureDevice.deviceId is non-null. |
| PASS captureDevice.label is non-null. |
| PASS captureDevice.label is not "" |
| PASS captureDevice.groupId is non-null. |
| PASS deviceIds.indexOf(captureDevice.deviceId) is not -1 |
| |
| |
| *** Calling mediaDevices.enumerateDevices without persistent access, with a media stream track |
| |
| PASS captureDevices.length is non-zero. |
| |
| PASS captureDevice.kind is non-null. |
| PASS captureDevice.deviceId is non-null. |
| PASS captureDevice.label is non-null. |
| PASS captureDevice.label is not "" |
| PASS captureDevice.groupId is non-null. |
| PASS deviceIds.indexOf(captureDevice.deviceId) is not -1 |
| |
| PASS captureDevice.kind is non-null. |
| PASS captureDevice.deviceId is non-null. |
| PASS captureDevice.label is non-null. |
| PASS captureDevice.label is not "" |
| PASS captureDevice.groupId is non-null. |
| PASS deviceIds.indexOf(captureDevice.deviceId) is not -1 |
| |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |