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

Unified Diff: LayoutTests/fast/mediastream/RTCSessionDescription-expected.txt

Issue 235123002: Should throw TypeError instead of TypeMismatchError (modules) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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
« no previous file with comments | « LayoutTests/fast/mediastream/RTCIceCandidate-expected.txt ('k') | Source/modules/crypto/Crypto.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/mediastream/RTCSessionDescription-expected.txt
diff --git a/LayoutTests/fast/mediastream/RTCSessionDescription-expected.txt b/LayoutTests/fast/mediastream/RTCSessionDescription-expected.txt
index eb8b569f52ec10dd00fc37fd1b5e09e55bf3597e..b2577826178e5a1d63065976970816a3c371377c 100644
--- a/LayoutTests/fast/mediastream/RTCSessionDescription-expected.txt
+++ b/LayoutTests/fast/mediastream/RTCSessionDescription-expected.txt
@@ -14,7 +14,7 @@ PASS new RTCSessionDescription(); did not throw exception.
PASS new RTCSessionDescription({}); did not throw exception.
PASS new RTCSessionDescription(5); threw exception TypeError: Failed to construct 'RTCSessionDescription': parameter 1 ('descriptionInitDict') is not an object..
PASS new RTCSessionDescription('foobar'); threw exception TypeError: Failed to construct 'RTCSessionDescription': parameter 1 ('descriptionInitDict') is not an object..
-PASS new RTCSessionDescription({type:'foobar', sdp:'x'}); threw exception TypeMismatchError: Failed to construct 'RTCSessionDescription': Illegal value of attribute 'type' : foobar.
+PASS new RTCSessionDescription({type:'foobar', sdp:'x'}); threw exception TypeError: Failed to construct 'RTCSessionDescription': Illegal value of attribute 'type' : foobar.
PASS new RTCSessionDescription({type:'offer', sdp:''}); did not throw exception.
PASS new RTCSessionDescription({type:'offer', sdp:'x'}); did not throw exception.
PASS new RTCSessionDescription({type:'answer', sdp:'x'}); did not throw exception.
« no previous file with comments | « LayoutTests/fast/mediastream/RTCIceCandidate-expected.txt ('k') | Source/modules/crypto/Crypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698