| OLD | NEW |
| 1 Tests the acceptable types for arguments to navigator.getUserMedia methods. | 1 Tests the acceptable types for arguments to navigator.getUserMedia methods. |
| 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 navigator.webkitGetUserMedia() threw exception TypeError: Not enough argume
nts. | 6 PASS navigator.webkitGetUserMedia() threw exception TypeError: Not enough argume
nts. |
| 7 PASS navigator.webkitGetUserMedia(undefined) threw exception TypeError: Not enou
gh arguments. | 7 PASS navigator.webkitGetUserMedia(undefined) threw exception TypeError: Not enou
gh arguments. |
| 8 PASS navigator.webkitGetUserMedia(null) threw exception TypeError: Not enough ar
guments. | 8 PASS navigator.webkitGetUserMedia(null) threw exception TypeError: Not enough ar
guments. |
| 9 PASS navigator.webkitGetUserMedia({ }) threw exception TypeError: Not enough arg
uments. | 9 PASS navigator.webkitGetUserMedia({ }) threw exception TypeError: Not enough arg
uments. |
| 10 PASS navigator.webkitGetUserMedia({video: true}) threw exception TypeError: Not
enough arguments. | 10 PASS navigator.webkitGetUserMedia({video: true}) threw exception TypeError: Not
enough arguments. |
| 11 PASS navigator.webkitGetUserMedia(true) threw exception TypeError: Not enough ar
guments. | 11 PASS navigator.webkitGetUserMedia(true) threw exception TypeError: Not enough ar
guments. |
| 12 PASS navigator.webkitGetUserMedia(42) threw exception TypeError: Not enough argu
ments. | 12 PASS navigator.webkitGetUserMedia(42) threw exception TypeError: Not enough argu
ments. |
| 13 PASS navigator.webkitGetUserMedia(Infinity) threw exception TypeError: Not enoug
h arguments. | 13 PASS navigator.webkitGetUserMedia(Infinity) threw exception TypeError: Not enoug
h arguments. |
| 14 PASS navigator.webkitGetUserMedia(-Infinity) threw exception TypeError: Not enou
gh arguments. | 14 PASS navigator.webkitGetUserMedia(-Infinity) threw exception TypeError: Not enou
gh arguments. |
| 15 PASS navigator.webkitGetUserMedia(emptyFunction) threw exception TypeError: Not
enough arguments. | 15 PASS navigator.webkitGetUserMedia(emptyFunction) threw exception TypeError: Not
enough arguments. |
| 16 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction) did not throw ex
ception. | 16 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction) did not throw ex
ception. |
| 17 PASS navigator.webkitGetUserMedia(undefined, emptyFunction) threw exception Erro
r: NotSupportedError: DOM Exception 9. | 17 PASS navigator.webkitGetUserMedia(undefined, emptyFunction) threw exception NotS
upportedError: The implementation did not support the requested type of object o
r operation.. |
| 18 PASS navigator.webkitGetUserMedia(null, emptyFunction) threw exception Error: No
tSupportedError: DOM Exception 9. | 18 PASS navigator.webkitGetUserMedia(null, emptyFunction) threw exception NotSuppor
tedError: The implementation did not support the requested type of object or ope
ration.. |
| 19 PASS navigator.webkitGetUserMedia({ }, emptyFunction) threw exception Error: Not
SupportedError: DOM Exception 9. | 19 PASS navigator.webkitGetUserMedia({ }, emptyFunction) threw exception NotSupport
edError: The implementation did not support the requested type of object or oper
ation.. |
| 20 PASS navigator.webkitGetUserMedia(true, emptyFunction) threw exception TypeError
: Not an object.. | 20 PASS navigator.webkitGetUserMedia(true, emptyFunction) threw exception TypeError
: Not an object.. |
| 21 PASS navigator.webkitGetUserMedia(42, emptyFunction) threw exception TypeError:
Not an object.. | 21 PASS navigator.webkitGetUserMedia(42, emptyFunction) threw exception TypeError:
Not an object.. |
| 22 PASS navigator.webkitGetUserMedia(Infinity, emptyFunction) threw exception TypeE
rror: Not an object.. | 22 PASS navigator.webkitGetUserMedia(Infinity, emptyFunction) threw exception TypeE
rror: Not an object.. |
| 23 PASS navigator.webkitGetUserMedia(-Infinity, emptyFunction) threw exception Type
Error: Not an object.. | 23 PASS navigator.webkitGetUserMedia(-Infinity, emptyFunction) threw exception Type
Error: Not an object.. |
| 24 PASS navigator.webkitGetUserMedia(emptyFunction, emptyFunction) threw exception
Error: NotSupportedError: DOM Exception 9. | 24 PASS navigator.webkitGetUserMedia(emptyFunction, emptyFunction) threw exception
NotSupportedError: The implementation did not support the requested type of obje
ct or operation.. |
| 25 PASS navigator.webkitGetUserMedia({video: true}, "foobar") threw exception TypeE
rror: Type error. | 25 PASS navigator.webkitGetUserMedia({video: true}, "foobar") threw exception TypeE
rror: Type error. |
| 26 PASS navigator.webkitGetUserMedia({video: true}, undefined) threw exception Type
Error: Type error. | 26 PASS navigator.webkitGetUserMedia({video: true}, undefined) threw exception Type
Error: Type error. |
| 27 PASS navigator.webkitGetUserMedia({video: true}, null) threw exception TypeError
: Type error. | 27 PASS navigator.webkitGetUserMedia({video: true}, null) threw exception TypeError
: Type error. |
| 28 PASS navigator.webkitGetUserMedia({video: true}, {}) threw exception TypeError:
Type error. | 28 PASS navigator.webkitGetUserMedia({video: true}, {}) threw exception TypeError:
Type error. |
| 29 PASS navigator.webkitGetUserMedia({video: true}, true) threw exception TypeError
: Type error. | 29 PASS navigator.webkitGetUserMedia({video: true}, true) threw exception TypeError
: Type error. |
| 30 PASS navigator.webkitGetUserMedia({video: true}, 42) threw exception TypeError:
Type error. | 30 PASS navigator.webkitGetUserMedia({video: true}, 42) threw exception TypeError:
Type error. |
| 31 PASS navigator.webkitGetUserMedia({video: true}, Infinity) threw exception TypeE
rror: Type error. | 31 PASS navigator.webkitGetUserMedia({video: true}, Infinity) threw exception TypeE
rror: Type error. |
| 32 PASS navigator.webkitGetUserMedia({video: true}, -Infinity) threw exception Type
Error: Type error. | 32 PASS navigator.webkitGetUserMedia({video: true}, -Infinity) threw exception Type
Error: Type error. |
| 33 PASS navigator.webkitGetUserMedia({ }, emptyFunction, emptyFunction) threw excep
tion Error: NotSupportedError: DOM Exception 9. | 33 PASS navigator.webkitGetUserMedia({ }, emptyFunction, emptyFunction) threw excep
tion NotSupportedError: The implementation did not support the requested type of
object or operation.. |
| 34 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, emptyFunction) d
id not throw exception. | 34 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, emptyFunction) d
id not throw exception. |
| 35 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, undefined) did n
ot throw exception. | 35 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, undefined) did n
ot throw exception. |
| 36 PASS navigator.webkitGetUserMedia({audio:true, video:true}, emptyFunction, undef
ined) did not throw exception. | 36 PASS navigator.webkitGetUserMedia({audio:true, video:true}, emptyFunction, undef
ined) did not throw exception. |
| 37 PASS navigator.webkitGetUserMedia({audio:true}, emptyFunction, undefined) did no
t throw exception. | 37 PASS navigator.webkitGetUserMedia({audio:true}, emptyFunction, undefined) did no
t throw exception. |
| 38 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, "video") threw e
xception TypeError: Type error. | 38 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, "video") threw e
xception TypeError: Type error. |
| 39 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, null) did not th
row exception. | 39 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, null) did not th
row exception. |
| 40 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, {}) threw except
ion TypeError: Type error. | 40 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, {}) threw except
ion TypeError: Type error. |
| 41 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, true) threw exce
ption TypeError: Type error. | 41 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, true) threw exce
ption TypeError: Type error. |
| 42 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, 42) threw except
ion TypeError: Type error. | 42 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, 42) threw except
ion TypeError: Type error. |
| 43 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, Infinity) threw
exception TypeError: Type error. | 43 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, Infinity) threw
exception TypeError: Type error. |
| 44 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, -Infinity) threw
exception TypeError: Type error. | 44 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, -Infinity) threw
exception TypeError: Type error. |
| 45 PASS successfullyParsed is true | 45 PASS successfullyParsed is true |
| 46 | 46 |
| 47 TEST COMPLETE | 47 TEST COMPLETE |
| 48 | 48 |
| OLD | NEW |