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

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

Issue 24203002: Improve generated "Not enough arguments." TypeError exceptions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
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 42de6353ded97587c63ec4e5706b576696fc6da9..91cb74927472e2afd24048d5bd071cfcbb6d48c7 100644
--- a/LayoutTests/fast/mediastream/argument-types-expected.txt
+++ b/LayoutTests/fast/mediastream/argument-types-expected.txt
@@ -3,16 +3,16 @@ 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: Not enough arguments.
-PASS navigator.webkitGetUserMedia(undefined) threw exception TypeError: Not enough arguments.
-PASS navigator.webkitGetUserMedia(null) threw exception TypeError: Not enough arguments.
-PASS navigator.webkitGetUserMedia({ }) threw exception TypeError: Not enough arguments.
-PASS navigator.webkitGetUserMedia({video: true}) threw exception TypeError: Not enough arguments.
-PASS navigator.webkitGetUserMedia(true) threw exception TypeError: Not enough arguments.
-PASS navigator.webkitGetUserMedia(42) threw exception TypeError: Not enough arguments.
-PASS navigator.webkitGetUserMedia(Infinity) threw exception TypeError: Not enough arguments.
-PASS navigator.webkitGetUserMedia(-Infinity) threw exception TypeError: Not enough arguments.
-PASS navigator.webkitGetUserMedia(emptyFunction) threw exception TypeError: Not enough arguments.
+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: The implementation did not support the requested type of object or operation..
PASS navigator.webkitGetUserMedia(null, emptyFunction) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..

Powered by Google App Engine
This is Rietveld 408576698