| Index: Source/core/testing/InternalSettings.cpp
|
| diff --git a/Source/core/testing/InternalSettings.cpp b/Source/core/testing/InternalSettings.cpp
|
| index 33c45eb4a23c95d24d45e91eef03a4299d811ad9..4d6263354ed41b07ab0d989b577d73350aa6a51a 100644
|
| --- a/Source/core/testing/InternalSettings.cpp
|
| +++ b/Source/core/testing/InternalSettings.cpp
|
| @@ -38,19 +38,19 @@
|
|
|
| #define InternalSettingsGuardForSettingsReturn(returnValue) \
|
| if (!settings()) { \
|
| - es.throwDOMException(InvalidAccessError); \
|
| + es.throwUninformativeAndGenericDOMException(InvalidAccessError); \
|
| return returnValue; \
|
| }
|
|
|
| #define InternalSettingsGuardForSettings() \
|
| if (!settings()) { \
|
| - es.throwDOMException(InvalidAccessError); \
|
| + es.throwUninformativeAndGenericDOMException(InvalidAccessError); \
|
| return; \
|
| }
|
|
|
| #define InternalSettingsGuardForPage() \
|
| if (!page()) { \
|
| - es.throwDOMException(InvalidAccessError); \
|
| + es.throwUninformativeAndGenericDOMException(InvalidAccessError); \
|
| return; \
|
| }
|
|
|
| @@ -294,7 +294,7 @@ void InternalSettings::setEditingBehavior(const String& editingBehavior, Excepti
|
| else if (equalIgnoringCase(editingBehavior, "android"))
|
| settings()->setEditingBehaviorType(EditingAndroidBehavior);
|
| else
|
| - es.throwDOMException(SyntaxError);
|
| + es.throwUninformativeAndGenericDOMException(SyntaxError);
|
| }
|
|
|
| void InternalSettings::setLangAttributeAwareFormControlUIEnabled(bool enabled)
|
|
|