Index: Source/core/xml/DOMParser.cpp |
diff --git a/Source/core/xml/DOMParser.cpp b/Source/core/xml/DOMParser.cpp |
index 2612ead98c7783e35f4f343aacffc5909284e3b1..ecc044300f5e555b46b7a85b3425d1e9cc3ff52f 100644 |
--- a/Source/core/xml/DOMParser.cpp |
+++ b/Source/core/xml/DOMParser.cpp |
@@ -34,7 +34,7 @@ PassRefPtr<Document> DOMParser::parseFromString(const String& str, const String& |
&& contentType != "application/xml" |
&& contentType != "application/xhtml+xml" |
&& contentType != "image/svg+xml") { |
- exceptionState.throwDOMException(TypeError, "Unsupported mime-type specified."); |
+ exceptionState.throwTypeError("Unsupported mime-type specified."); |
return nullptr; |
} |