Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: LayoutTests/fast/mediastream/argument-types-expected.txt

Issue 173893009: MediaStream API: Update getUserMedia to match the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed review comment Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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: Failed to execute 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but only 0 present.. 6 PASS navigator.webkitGetUserMedia() threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': 3 arguments required, but only 0 present..
7 PASS navigator.webkitGetUserMedia(undefined) threw exception TypeError: Failed t o execute 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but only 1 present.. 7 PASS navigator.webkitGetUserMedia({video: true}) threw exception TypeError: Fail ed to execute 'webkitGetUserMedia' on 'Navigator': 3 arguments required, but onl y 1 present..
8 PASS navigator.webkitGetUserMedia(null) threw exception TypeError: Failed to exe cute 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but only 1 prese nt.. 8 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': 3 arguments re quired, but only 2 present..
9 PASS navigator.webkitGetUserMedia({ }) threw exception TypeError: Failed to exec ute 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but only 1 presen t..
10 PASS navigator.webkitGetUserMedia({video: true}) threw exception TypeError: Fail ed to execute 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but onl y 1 present..
11 PASS navigator.webkitGetUserMedia(true) threw exception TypeError: Failed to exe cute 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but only 1 prese nt..
12 PASS navigator.webkitGetUserMedia(42) threw exception TypeError: Failed to execu te 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but only 1 present ..
13 PASS navigator.webkitGetUserMedia(Infinity) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but only 1 p resent..
14 PASS navigator.webkitGetUserMedia(-Infinity) threw exception TypeError: Failed t o execute 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but only 1 present..
15 PASS navigator.webkitGetUserMedia(emptyFunction) threw exception TypeError: Fail ed to execute 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but onl y 1 present..
16 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction) did not throw ex ception.
17 PASS navigator.webkitGetUserMedia(undefined, emptyFunction) threw exception NotS upportedError: Failed to execute 'webkitGetUserMedia' on 'Navigator': Failed to request user media..
18 PASS navigator.webkitGetUserMedia(null, emptyFunction) threw exception NotSuppor tedError: Failed to execute 'webkitGetUserMedia' on 'Navigator': Failed to reque st user media..
19 PASS navigator.webkitGetUserMedia({ }, emptyFunction) threw exception NotSupport edError: Failed to execute 'webkitGetUserMedia' on 'Navigator': Failed to reques t user media..
20 FAIL navigator.webkitGetUserMedia(true, emptyFunction) should throw TypeError: N ot an object.. Threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': parameter 1 ('options') is not an object..
21 FAIL navigator.webkitGetUserMedia(42, emptyFunction) should throw TypeError: Not an object.. Threw exception TypeError: Failed to execute 'webkitGetUserMedia' o n 'Navigator': parameter 1 ('options') is not an object..
22 FAIL navigator.webkitGetUserMedia(Infinity, emptyFunction) should throw TypeErro r: Not an object.. Threw exception TypeError: Failed to execute 'webkitGetUserMe dia' on 'Navigator': parameter 1 ('options') is not an object..
23 FAIL navigator.webkitGetUserMedia(-Infinity, emptyFunction) should throw TypeErr or: Not an object.. Threw exception TypeError: Failed to execute 'webkitGetUserM edia' on 'Navigator': parameter 1 ('options') is not an object..
24 PASS navigator.webkitGetUserMedia(emptyFunction, emptyFunction) threw exception NotSupportedError: Failed to execute 'webkitGetUserMedia' on 'Navigator': Failed to request user media..
25 PASS navigator.webkitGetUserMedia({video: true}, "foobar") threw exception TypeE rror: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provid ed as parameter 2 is not a function..
26 PASS navigator.webkitGetUserMedia({video: true}, undefined) threw exception Type Error: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provi ded as parameter 2 is not a function..
27 PASS navigator.webkitGetUserMedia({video: true}, null) threw exception TypeError : Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided a s parameter 2 is not a function..
28 PASS navigator.webkitGetUserMedia({video: true}, {}) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 2 is not a function..
29 PASS navigator.webkitGetUserMedia({video: true}, true) threw exception TypeError : Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided a s parameter 2 is not a function..
30 PASS navigator.webkitGetUserMedia({video: true}, 42) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 2 is not a function..
31 PASS navigator.webkitGetUserMedia({video: true}, Infinity) threw exception TypeE rror: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provid ed as parameter 2 is not a function..
32 PASS navigator.webkitGetUserMedia({video: true}, -Infinity) threw exception Type Error: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provi ded as parameter 2 is not a function..
33 PASS navigator.webkitGetUserMedia({ }, emptyFunction, emptyFunction) threw excep tion NotSupportedError: Failed to execute 'webkitGetUserMedia' on 'Navigator': F ailed to request user media..
34 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, emptyFunction) d id not throw exception. 9 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. 10 PASS navigator.webkitGetUserMedia({audio: true}, emptyFunction, emptyFunction) d id not throw exception.
36 PASS navigator.webkitGetUserMedia({audio:true, video:true}, emptyFunction, undef ined) did not throw exception. 11 PASS navigator.webkitGetUserMedia({audio: true, video: true}, emptyFunction, emp tyFunction) did not throw exception.
37 PASS navigator.webkitGetUserMedia({audio:true}, emptyFunction, undefined) did no t throw exception. 12 PASS navigator.webkitGetUserMedia(-Infinity, emptyFunction, emptyFunction) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': par ameter 1 ('options') is not an object..
13 PASS navigator.webkitGetUserMedia(42, emptyFunction, emptyFunction) threw except ion TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': parameter 1 ('options') is not an object..
14 PASS navigator.webkitGetUserMedia(Infinity, emptyFunction, emptyFunction) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': para meter 1 ('options') is not an object..
15 PASS navigator.webkitGetUserMedia(emptyFunction, emptyFunction, emptyFunction) t hrew exception SyntaxError: Failed to execute 'webkitGetUserMedia' on 'Navigator ': At least one of audio and video must be requested.
16 PASS navigator.webkitGetUserMedia(null, emptyFunction, emptyFunction) threw exce ption SyntaxError: Failed to execute 'webkitGetUserMedia' on 'Navigator': At lea st one of audio and video must be requested.
17 PASS navigator.webkitGetUserMedia(true, emptyFunction, emptyFunction) threw exce ption TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': paramete r 1 ('options') is not an object..
18 PASS navigator.webkitGetUserMedia(undefined, emptyFunction, emptyFunction) threw exception SyntaxError: Failed to execute 'webkitGetUserMedia' on 'Navigator': A t least one of audio and video must be requested.
19 PASS navigator.webkitGetUserMedia({ }, emptyFunction, emptyFunction) threw excep tion SyntaxError: Failed to execute 'webkitGetUserMedia' on 'Navigator': At leas t one of audio and video must be requested.
20 PASS navigator.webkitGetUserMedia({foo: true }, emptyFunction, emptyFunction) th rew exception SyntaxError: Failed to execute 'webkitGetUserMedia' on 'Navigator' : At least one of audio and video must be requested.
21 PASS navigator.webkitGetUserMedia({audio:true, video:true}, emptyFunction, undef ined) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navi gator': The callback provided as parameter 3 is not a function..
22 PASS navigator.webkitGetUserMedia({video: true}, "foobar", emptyFunction) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 2 is not a function..
23 PASS navigator.webkitGetUserMedia({video: true}, -Infinity, emptyFunction) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 2 is not a function..
24 PASS navigator.webkitGetUserMedia({video: true}, 42, emptyFunction) threw except ion TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callba ck provided as parameter 2 is not a function..
25 PASS navigator.webkitGetUserMedia({video: true}, Infinity, emptyFunction) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 2 is not a function..
38 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, "video") threw e xception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The c allback provided as parameter 3 is not a function.. 26 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, "video") threw e xception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The c allback provided as parameter 3 is not a function..
39 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, null) did not th row exception. 27 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, -Infinity) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 3 is not a function..
40 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, {}) threw except ion TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callba ck provided as parameter 3 is not a function..
41 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, true) threw exce ption TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The call back provided as parameter 3 is not a function..
42 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, 42) threw except ion TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callba ck provided as parameter 3 is not a function.. 28 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, 42) threw except ion TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callba ck provided as parameter 3 is not a function..
43 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, Infinity) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 3 is not a function.. 29 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, Infinity) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 3 is not a function..
44 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, -Infinity) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 3 is not a function.. 30 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, null) threw exce ption TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The call back provided as parameter 3 is not a function..
31 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, true) threw exce ption TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The call back provided as parameter 3 is not a function..
32 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, undefined) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 3 is not a function..
33 PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, {}) threw except ion TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callba ck provided as parameter 3 is not a function..
34 PASS navigator.webkitGetUserMedia({video: true}, null, emptyFunction) threw exce ption TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The call back provided as parameter 2 is not a function..
35 PASS navigator.webkitGetUserMedia({video: true}, true, emptyFunction) threw exce ption TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The call back provided as parameter 2 is not a function..
36 PASS navigator.webkitGetUserMedia({video: true}, undefined, emptyFunction) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 2 is not a function..
37 PASS navigator.webkitGetUserMedia({video: true}, {}, emptyFunction) threw except ion TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callba ck provided as parameter 2 is not a function..
45 PASS successfullyParsed is true 38 PASS successfullyParsed is true
46 39
47 TEST COMPLETE 40 TEST COMPLETE
48 41
OLDNEW
« no previous file with comments | « LayoutTests/fast/mediastream/argument-types.html ('k') | LayoutTests/fast/mediastream/getusermedia-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698