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

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

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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 34539b8c40332a8f98838f44662e6248ba0f935e..42de6353ded97587c63ec4e5706b576696fc6da9 100644
--- a/LayoutTests/fast/mediastream/argument-types-expected.txt
+++ b/LayoutTests/fast/mediastream/argument-types-expected.txt
@@ -14,14 +14,14 @@ PASS navigator.webkitGetUserMedia(Infinity) threw exception TypeError: Not enoug
PASS navigator.webkitGetUserMedia(-Infinity) threw exception TypeError: Not enough arguments.
PASS navigator.webkitGetUserMedia(emptyFunction) threw exception TypeError: Not enough arguments.
PASS navigator.webkitGetUserMedia({video: true}, emptyFunction) did not throw exception.
-PASS navigator.webkitGetUserMedia(undefined, emptyFunction) threw exception Error: NotSupportedError: DOM Exception 9.
-PASS navigator.webkitGetUserMedia(null, emptyFunction) threw exception Error: NotSupportedError: DOM Exception 9.
-PASS navigator.webkitGetUserMedia({ }, emptyFunction) threw exception Error: NotSupportedError: DOM Exception 9.
+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..
+PASS navigator.webkitGetUserMedia({ }, emptyFunction) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
PASS navigator.webkitGetUserMedia(true, emptyFunction) threw exception TypeError: Not an object..
PASS navigator.webkitGetUserMedia(42, emptyFunction) threw exception TypeError: Not an object..
PASS navigator.webkitGetUserMedia(Infinity, emptyFunction) threw exception TypeError: Not an object..
PASS navigator.webkitGetUserMedia(-Infinity, emptyFunction) threw exception TypeError: Not an object..
-PASS navigator.webkitGetUserMedia(emptyFunction, emptyFunction) threw exception Error: NotSupportedError: DOM Exception 9.
+PASS navigator.webkitGetUserMedia(emptyFunction, emptyFunction) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
PASS navigator.webkitGetUserMedia({video: true}, "foobar") threw exception TypeError: Type error.
PASS navigator.webkitGetUserMedia({video: true}, undefined) threw exception TypeError: Type error.
PASS navigator.webkitGetUserMedia({video: true}, null) threw exception TypeError: Type error.
@@ -30,7 +30,7 @@ PASS navigator.webkitGetUserMedia({video: true}, true) threw exception TypeError
PASS navigator.webkitGetUserMedia({video: true}, 42) threw exception TypeError: Type error.
PASS navigator.webkitGetUserMedia({video: true}, Infinity) threw exception TypeError: Type error.
PASS navigator.webkitGetUserMedia({video: true}, -Infinity) threw exception TypeError: Type error.
-PASS navigator.webkitGetUserMedia({ }, emptyFunction, emptyFunction) threw exception Error: NotSupportedError: DOM Exception 9.
+PASS navigator.webkitGetUserMedia({ }, emptyFunction, emptyFunction) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
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.

Powered by Google App Engine
This is Rietveld 408576698