| Index: Source/modules/mediastream/RTCIceCandidate.cpp
|
| diff --git a/Source/modules/mediastream/RTCIceCandidate.cpp b/Source/modules/mediastream/RTCIceCandidate.cpp
|
| index 751ffea80a5501fffefb9a3e6b3d033f71c830f0..22b99bc720a2ca20252e78fb87b37b21367efcfc 100644
|
| --- a/Source/modules/mediastream/RTCIceCandidate.cpp
|
| +++ b/Source/modules/mediastream/RTCIceCandidate.cpp
|
| @@ -44,7 +44,7 @@ PassRefPtr<RTCIceCandidate> RTCIceCandidate::create(const Dictionary& dictionary
|
| String candidate;
|
| bool ok = dictionary.get("candidate", candidate);
|
| if (!ok || !candidate.length()) {
|
| - exceptionState.throwDOMException(TypeMismatchError, ExceptionMessages::incorrectPropertyType("candidate", "is not a string, or is empty."));
|
| + exceptionState.throwDOMException(TypeError, ExceptionMessages::incorrectPropertyType("candidate", "is not a string, or is empty."));
|
| return nullptr;
|
| }
|
|
|
|
|