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

Unified Diff: LayoutTests/fast/mediastream/RTCSessionDescription-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/RTCSessionDescription-expected.txt
diff --git a/LayoutTests/fast/mediastream/RTCSessionDescription-expected.txt b/LayoutTests/fast/mediastream/RTCSessionDescription-expected.txt
index babd7c13a86fbb8f55fe7c2393e8acf75859bc87..246687cb1a2d41cb4b68c7ec30c954c0bafed186 100644
--- a/LayoutTests/fast/mediastream/RTCSessionDescription-expected.txt
+++ b/LayoutTests/fast/mediastream/RTCSessionDescription-expected.txt
@@ -10,11 +10,11 @@ PASS initializer = JSON.parse(JSON.stringify(sessionDescription)); did not throw
PASS sessionDescription = new RTCSessionDescription(initializer); did not throw exception.
PASS sessionDescription.type is "offer"
PASS sessionDescription.sdp is "foobar"
-PASS new RTCSessionDescription({}); threw exception Error: TypeMismatchError: DOM Exception 17.
+PASS new RTCSessionDescription({}); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
PASS new RTCSessionDescription(5); threw exception TypeError: Not an object..
PASS new RTCSessionDescription('foobar'); threw exception TypeError: Not an object..
-PASS new RTCSessionDescription({type:'foobar', sdp:'x'}); threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS new RTCSessionDescription({type:'offer', sdp:''}); threw exception Error: TypeMismatchError: DOM Exception 17.
+PASS new RTCSessionDescription({type:'foobar', sdp:'x'}); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS new RTCSessionDescription({type:'offer', sdp:''}); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
PASS new RTCSessionDescription({type:'offer', sdp:'x'}); did not throw exception.
PASS new RTCSessionDescription({type:'answer', sdp:'x'}); did not throw exception.
PASS new RTCSessionDescription({type:'pranswer', sdp:'x'}); did not throw exception.
« no previous file with comments | « LayoutTests/fast/mediastream/RTCPeerConnection-expected.txt ('k') | LayoutTests/fast/mediastream/argument-types-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698