| Index: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription.html | 
| diff --git a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription.html b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription.html | 
| index af224ebff6b203ec8e506566a954933244725e44..fd3b70c22ab1cecb2e4ae30a9c3461c9dc2247c3 100644 | 
| --- a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription.html | 
| +++ b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription.html | 
| @@ -42,12 +42,26 @@ function requestSucceeded1() | 
| shouldNotThrow('pc.setRemoteDescription(sessionDescription, requestSucceeded2, requestFailed2);'); | 
| } | 
|  | 
| +function expectedTypeError(error) | 
| +{ | 
| +    errorReason = error; | 
| +    shouldBe('errorReason.name', '"TypeError"') | 
| +    testPassed('expectedTypeError was called.') | 
| +} | 
| + | 
| +function expectedInvalidSessionDescription(error) | 
| +{ | 
| +    errorReason = error; | 
| +    shouldBe('errorReason.name', '"InvalidSessionDescription"') | 
| +    testPassed('expectedInvalidSessionDescription was called.') | 
| +} | 
| + | 
| pc = new webkitRTCPeerConnection(null, null); | 
| -shouldThrow('pc.setRemoteDescription(null)'); | 
| +shouldNotThrow('pc.setRemoteDescription().catch(expectedTypeError)'); | 
| +shouldNotThrow('pc.setRemoteDescription(null).catch(expectedInvalidSessionDescription)'); | 
| var sessionDescription = new RTCSessionDescription({type:"answer", sdp:"remote"}); | 
| shouldNotThrow('pc.setRemoteDescription(sessionDescription, requestSucceeded1, requestFailed1);'); | 
|  | 
| - | 
| window.jsTestIsAsync = true; | 
| window.successfullyParsed = true; | 
| </script> | 
|  |