| OLD | NEW |
| 1 CONSOLE WARNING: line 1: Unknown constraint named valid_but_unsupported_1 reject
ed | 1 CONSOLE WARNING: line 1: Unknown constraint named valid_but_unsupported_1 reject
ed |
| 2 Tests webkitGetUserMedia. | 2 Tests webkitGetUserMedia. |
| 3 | 3 |
| 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 5 | 5 |
| 6 | 6 |
| 7 PASS window.internals.isUseCounted(document, GetUserMediaPrefixed) is false |
| 8 PASS window.internals.isUseCounted(document, GetUserMediaLegacy) is false |
| 7 PASS navigator.webkitGetUserMedia({audio:false, video:false}, error, error); thr
ew exception SyntaxError: Failed to execute 'webkitGetUserMedia' on 'Navigator':
At least one of audio and video must be requested. | 9 PASS navigator.webkitGetUserMedia({audio:false, video:false}, error, error); thr
ew exception SyntaxError: Failed to execute 'webkitGetUserMedia' on 'Navigator':
At least one of audio and video must be requested. |
| 8 PASS navigator.webkitGetUserMedia({audio:true}, gotStream1, error); did not thro
w exception. | 10 PASS navigator.webkitGetUserMedia({audio:true}, gotStreamNoMore, error); did not
throw exception. |
| 11 PASS navigator.getUserMedia({audio:false, video:false}, error, error); threw exc
eption SyntaxError: Failed to execute 'getUserMedia' on 'Navigator': At least on
e of audio and video must be requested. |
| 12 PASS navigator.getUserMedia({audio:true}, gotStream1, error); did not throw exce
ption. |
| 13 PASS window.internals.isUseCounted(document, GetUserMediaPrefixed) is true |
| 14 PASS window.internals.isUseCounted(document, GetUserMediaLegacy) is true |
| 15 PASS window.internals.isUseCounted(document, GetUserMediaPromise) is false |
| 9 PASS Stream generated. | 16 PASS Stream generated. |
| 10 PASS stream.getAudioTracks().length is 1 | 17 PASS stream.getAudioTracks().length is 1 |
| 11 PASS stream.getVideoTracks().length is 0 | 18 PASS stream.getVideoTracks().length is 0 |
| 12 PASS navigator.webkitGetUserMedia({video:true}, gotStream2, error); did not thro
w exception. | 19 PASS Stream generated. |
| 20 PASS stream.getAudioTracks().length is 1 |
| 21 PASS stream.getVideoTracks().length is 0 |
| 22 PASS navigator.getUserMedia({video:true}, gotStream2, error); did not throw exce
ption. |
| 13 PASS Stream generated. | 23 PASS Stream generated. |
| 14 PASS stream.getAudioTracks().length is 0 | 24 PASS stream.getAudioTracks().length is 0 |
| 15 PASS stream.getVideoTracks().length is 1 | 25 PASS stream.getVideoTracks().length is 1 |
| 16 PASS navigator.webkitGetUserMedia({audio:true, video:true}, gotStream3, error);
did not throw exception. | 26 PASS navigator.getUserMedia({audio:true, video:true}, gotStream3, error); did no
t throw exception. |
| 17 PASS Stream generated. | 27 PASS Stream generated. |
| 18 PASS stream.getAudioTracks().length is 1 | 28 PASS stream.getAudioTracks().length is 1 |
| 19 PASS stream.getVideoTracks().length is 1 | 29 PASS stream.getVideoTracks().length is 1 |
| 20 PASS navigator.webkitGetUserMedia({audio:{mandatory:{}, optional:[]}, video:true
}, gotStream4, error); did not throw exception. | 30 PASS navigator.getUserMedia({audio:{mandatory:{}, optional:[]}, video:true}, got
Stream4, error); did not throw exception. |
| 21 PASS Stream generated. | 31 PASS Stream generated. |
| 22 PASS stream.getAudioTracks().length is 1 | 32 PASS stream.getAudioTracks().length is 1 |
| 23 PASS stream.getVideoTracks().length is 1 | 33 PASS stream.getVideoTracks().length is 1 |
| 24 PASS Error callback called. | 34 PASS Error callback called. |
| 25 PASS errorArg.name is "ConstraintNotSatisfiedError" | 35 PASS errorArg.name is "ConstraintNotSatisfiedError" |
| 26 PASS errorArg.constraintName is "valid_but_unsupported_1" | 36 PASS errorArg.constraintName is "valid_but_unsupported_1" |
| 27 PASS navigator.webkitGetUserMedia({audio:{mandatory:{'valid_and_supported_1':1},
optional:[{'valid_but_unsupported_1':0}]}, video:true}, gotStream5, error); did
not throw exception. | 37 PASS navigator.getUserMedia({audio:{mandatory:{'valid_and_supported_1':1}, optio
nal:[{'valid_but_unsupported_1':0}]}, video:true}, gotStream5, error); did not t
hrow exception. |
| 28 PASS navigator.webkitGetUserMedia({audio:{mandatory:{'valid_but_unsupported_1':0
}, optional:[]}, video:true}, gotStreamInError, error1); did not throw exception
. | 38 PASS navigator.getUserMedia({audio:{mandatory:{'valid_but_unsupported_1':0}, opt
ional:[]}, video:true}, gotStreamInError, error1); did not throw exception. |
| 29 PASS Stream generated. | 39 PASS Stream generated. |
| 30 PASS stream.getAudioTracks().length is 1 | 40 PASS stream.getAudioTracks().length is 1 |
| 31 PASS stream.getVideoTracks().length is 1 | 41 PASS stream.getVideoTracks().length is 1 |
| 32 PASS successfullyParsed is true | 42 PASS successfullyParsed is true |
| 33 | 43 |
| 34 TEST COMPLETE | 44 TEST COMPLETE |
| 35 | 45 |
| OLD | NEW |