| Index: Source/modules/mediastream/RTCSessionDescription.cpp
|
| diff --git a/Source/modules/mediastream/RTCSessionDescription.cpp b/Source/modules/mediastream/RTCSessionDescription.cpp
|
| index 4a2b18e16036ff9f32715413c6614bba974190cc..61f9f79896dc6d533a6e1ffcdd4af0bf097dedbd 100644
|
| --- a/Source/modules/mediastream/RTCSessionDescription.cpp
|
| +++ b/Source/modules/mediastream/RTCSessionDescription.cpp
|
| @@ -49,14 +49,14 @@ PassRefPtr<RTCSessionDescription> RTCSessionDescription::create(const Dictionary
|
| String type;
|
| bool ok = dictionary.get("type", type);
|
| if (!ok || !verifyType(type)) {
|
| - es.throwDOMException(TypeMismatchError);
|
| + es.throwUninformativeAndGenericDOMException(TypeMismatchError);
|
| return 0;
|
| }
|
|
|
| String sdp;
|
| ok = dictionary.get("sdp", sdp);
|
| if (!ok || sdp.isEmpty()) {
|
| - es.throwDOMException(TypeMismatchError);
|
| + es.throwUninformativeAndGenericDOMException(TypeMismatchError);
|
| return 0;
|
| }
|
|
|
| @@ -88,7 +88,7 @@ void RTCSessionDescription::setType(const String& type, ExceptionState& es)
|
| if (verifyType(type))
|
| m_webSessionDescription.setType(type);
|
| else
|
| - es.throwDOMException(TypeMismatchError);
|
| + es.throwUninformativeAndGenericDOMException(TypeMismatchError);
|
| }
|
|
|
| String RTCSessionDescription::sdp()
|
|
|