OLD | NEW |
1 Tests MediaStreamTrack::getSourceInfos. | 1 Tests MediaStreamTrack::getSources. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS sources = MediaStreamTrack.getSourceInfos(); did not throw exception. | 6 PASS MediaStreamTrack.getSources(gotSources1); did not throw exception. |
| 7 PASS gotSources1 was called. |
7 PASS sources.length > 0 is true | 8 PASS sources.length > 0 is true |
8 PASS sources = MediaStreamTrack.getSourceInfos(); did not throw exception. | 9 PASS gotStream was called. |
| 10 PASS MediaStreamTrack.getSources(gotSources2); did not throw exception. |
| 11 PASS gotSources2 was called. |
9 PASS sources.length > 0 is true | 12 PASS sources.length > 0 is true |
10 PASS sources[0].id === previousId is true | 13 PASS sources[0].id === previousId is true |
11 PASS sources[0].label.length > 0 is true | 14 PASS sources[0].label.length > 0 is true |
12 PASS successfullyParsed is true | 15 PASS successfullyParsed is true |
13 | 16 |
14 TEST COMPLETE | 17 TEST COMPLETE |
15 | 18 |
OLD | NEW |