| Index: Source/core/editing/markup.cpp
|
| diff --git a/Source/core/editing/markup.cpp b/Source/core/editing/markup.cpp
|
| index 7e0f8074103de22e72b93d1514747bc8cf0aedb2..437ffb88117063a04c979d852b129a56c974b460 100644
|
| --- a/Source/core/editing/markup.cpp
|
| +++ b/Source/core/editing/markup.cpp
|
| @@ -951,7 +951,7 @@ PassRefPtr<DocumentFragment> createFragmentForInnerOuterHTML(const String& marku
|
|
|
| bool wasValid = fragment->parseXML(markup, contextElement, parserContentPolicy);
|
| if (!wasValid) {
|
| - es.throwDOMException(SyntaxError);
|
| + es.throwUninformativeAndGenericDOMException(SyntaxError);
|
| return 0;
|
| }
|
| return fragment.release();
|
| @@ -996,13 +996,13 @@ PassRefPtr<DocumentFragment> createContextualFragment(const String& markup, HTML
|
| {
|
| ASSERT(element);
|
| if (element->ieForbidsInsertHTML()) {
|
| - es.throwDOMException(NotSupportedError);
|
| + es.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| return 0;
|
| }
|
|
|
| if (element->hasLocalName(colTag) || element->hasLocalName(colgroupTag) || element->hasLocalName(framesetTag)
|
| || element->hasLocalName(headTag) || element->hasLocalName(styleTag) || element->hasLocalName(titleTag)) {
|
| - es.throwDOMException(NotSupportedError);
|
| + es.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| return 0;
|
| }
|
|
|
|
|