Index: LayoutTests/fast/mediastream/argument-types-expected.txt |
diff --git a/LayoutTests/fast/mediastream/argument-types-expected.txt b/LayoutTests/fast/mediastream/argument-types-expected.txt |
index 7e539345b3dc442d0ba462e3d16b3c3db55fd31c..4b4b4708bd7c27b956780fc5ab395dea16de8ff5 100644 |
--- a/LayoutTests/fast/mediastream/argument-types-expected.txt |
+++ b/LayoutTests/fast/mediastream/argument-types-expected.txt |
@@ -3,45 +3,38 @@ Tests the acceptable types for arguments to navigator.getUserMedia methods. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS navigator.webkitGetUserMedia() threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but only 0 present.. |
-PASS navigator.webkitGetUserMedia(undefined) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but only 1 present.. |
-PASS navigator.webkitGetUserMedia(null) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but only 1 present.. |
-PASS navigator.webkitGetUserMedia({ }) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but only 1 present.. |
-PASS navigator.webkitGetUserMedia({video: true}) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but only 1 present.. |
-PASS navigator.webkitGetUserMedia(true) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but only 1 present.. |
-PASS navigator.webkitGetUserMedia(42) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but only 1 present.. |
-PASS navigator.webkitGetUserMedia(Infinity) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but only 1 present.. |
-PASS navigator.webkitGetUserMedia(-Infinity) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but only 1 present.. |
-PASS navigator.webkitGetUserMedia(emptyFunction) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': 2 arguments required, but only 1 present.. |
-PASS navigator.webkitGetUserMedia({video: true}, emptyFunction) did not throw exception. |
-PASS navigator.webkitGetUserMedia(undefined, emptyFunction) threw exception NotSupportedError: Failed to execute 'webkitGetUserMedia' on 'Navigator': Failed to request user media.. |
-PASS navigator.webkitGetUserMedia(null, emptyFunction) threw exception NotSupportedError: Failed to execute 'webkitGetUserMedia' on 'Navigator': Failed to request user media.. |
-PASS navigator.webkitGetUserMedia({ }, emptyFunction) threw exception NotSupportedError: Failed to execute 'webkitGetUserMedia' on 'Navigator': Failed to request user media.. |
-FAIL navigator.webkitGetUserMedia(true, emptyFunction) should throw TypeError: Not an object.. Threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': parameter 1 ('options') is not an object.. |
-FAIL navigator.webkitGetUserMedia(42, emptyFunction) should throw TypeError: Not an object.. Threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': parameter 1 ('options') is not an object.. |
-FAIL navigator.webkitGetUserMedia(Infinity, emptyFunction) should throw TypeError: Not an object.. Threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': parameter 1 ('options') is not an object.. |
-FAIL navigator.webkitGetUserMedia(-Infinity, emptyFunction) should throw TypeError: Not an object.. Threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': parameter 1 ('options') is not an object.. |
-PASS navigator.webkitGetUserMedia(emptyFunction, emptyFunction) threw exception NotSupportedError: Failed to execute 'webkitGetUserMedia' on 'Navigator': Failed to request user media.. |
-PASS navigator.webkitGetUserMedia({video: true}, "foobar") threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 2 is not a function.. |
-PASS navigator.webkitGetUserMedia({video: true}, undefined) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 2 is not a function.. |
-PASS navigator.webkitGetUserMedia({video: true}, null) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 2 is not a function.. |
-PASS navigator.webkitGetUserMedia({video: true}, {}) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 2 is not a function.. |
-PASS navigator.webkitGetUserMedia({video: true}, true) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 2 is not a function.. |
-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.. |
-PASS navigator.webkitGetUserMedia({video: true}, Infinity) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 2 is not a function.. |
-PASS navigator.webkitGetUserMedia({video: true}, -Infinity) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 2 is not a function.. |
-PASS navigator.webkitGetUserMedia({ }, emptyFunction, emptyFunction) threw exception NotSupportedError: Failed to execute 'webkitGetUserMedia' on 'Navigator': Failed to request user media.. |
+PASS navigator.webkitGetUserMedia() threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': 3 arguments required, but only 0 present.. |
+PASS navigator.webkitGetUserMedia({video: true}) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': 3 arguments required, but only 1 present.. |
+PASS navigator.webkitGetUserMedia({video: true}, emptyFunction) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': 3 arguments required, but only 2 present.. |
PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, emptyFunction) did not throw exception. |
-PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, undefined) did not throw exception. |
-PASS navigator.webkitGetUserMedia({audio:true, video:true}, emptyFunction, undefined) did not throw exception. |
-PASS navigator.webkitGetUserMedia({audio:true}, emptyFunction, undefined) did not throw exception. |
+PASS navigator.webkitGetUserMedia({audio: true}, emptyFunction, emptyFunction) did not throw exception. |
+PASS navigator.webkitGetUserMedia({audio: true, video: true}, emptyFunction, emptyFunction) did not throw exception. |
+PASS navigator.webkitGetUserMedia(-Infinity, emptyFunction, emptyFunction) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': parameter 1 ('options') is not an object.. |
+PASS navigator.webkitGetUserMedia(42, emptyFunction, emptyFunction) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': parameter 1 ('options') is not an object.. |
+PASS navigator.webkitGetUserMedia(Infinity, emptyFunction, emptyFunction) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': parameter 1 ('options') is not an object.. |
+PASS navigator.webkitGetUserMedia(emptyFunction, emptyFunction, emptyFunction) threw exception SyntaxError: Failed to execute 'webkitGetUserMedia' on 'Navigator': At least one of audio and video must be requested. |
+PASS navigator.webkitGetUserMedia(null, emptyFunction, emptyFunction) threw exception SyntaxError: Failed to execute 'webkitGetUserMedia' on 'Navigator': At least one of audio and video must be requested. |
+PASS navigator.webkitGetUserMedia(true, emptyFunction, emptyFunction) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': parameter 1 ('options') is not an object.. |
+PASS navigator.webkitGetUserMedia(undefined, emptyFunction, emptyFunction) threw exception SyntaxError: Failed to execute 'webkitGetUserMedia' on 'Navigator': At least one of audio and video must be requested. |
+PASS navigator.webkitGetUserMedia({ }, emptyFunction, emptyFunction) threw exception SyntaxError: Failed to execute 'webkitGetUserMedia' on 'Navigator': At least one of audio and video must be requested. |
+PASS navigator.webkitGetUserMedia({foo: true }, emptyFunction, emptyFunction) threw exception SyntaxError: Failed to execute 'webkitGetUserMedia' on 'Navigator': At least one of audio and video must be requested. |
+PASS navigator.webkitGetUserMedia({audio:true, video:true}, emptyFunction, undefined) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 3 is not a function.. |
+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.. |
+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.. |
+PASS navigator.webkitGetUserMedia({video: true}, 42, emptyFunction) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 2 is not a function.. |
+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.. |
PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, "video") threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 3 is not a function.. |
-PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, null) did not throw exception. |
-PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, {}) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 3 is not a function.. |
-PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, true) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 3 is not a function.. |
+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.. |
PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, 42) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 3 is not a function.. |
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.. |
-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.. |
+PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, null) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 3 is not a function.. |
+PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, true) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 3 is not a function.. |
+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.. |
+PASS navigator.webkitGetUserMedia({video: true}, emptyFunction, {}) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 3 is not a function.. |
+PASS navigator.webkitGetUserMedia({video: true}, null, emptyFunction) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 2 is not a function.. |
+PASS navigator.webkitGetUserMedia({video: true}, true, emptyFunction) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 2 is not a function.. |
+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.. |
+PASS navigator.webkitGetUserMedia({video: true}, {}, emptyFunction) threw exception TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 2 is not a function.. |
PASS successfullyParsed is true |
TEST COMPLETE |