| Index: Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp
|
| diff --git a/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp b/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp
|
| index 503ac30fd41a899616745ec2756f4ee44085973f..06f3285ed84048361f6bb4d1667005cf4f6a7aa2 100644
|
| --- a/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp
|
| +++ b/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp
|
| @@ -77,7 +77,7 @@ static bool verifyCustomHandlerURL(const String& baseURL, const String& url, Exc
|
| static const char token[] = "%s";
|
| int index = url.find(token);
|
| if (-1 == index) {
|
| - es.throwDOMException(SyntaxError);
|
| + es.throwUninformativeAndGenericDOMException(SyntaxError);
|
| return false;
|
| }
|
|
|
| @@ -90,7 +90,7 @@ static bool verifyCustomHandlerURL(const String& baseURL, const String& url, Exc
|
| KURL kurl(base, newURL);
|
|
|
| if (kurl.isEmpty() || !kurl.isValid()) {
|
| - es.throwDOMException(SyntaxError);
|
| + es.throwUninformativeAndGenericDOMException(SyntaxError);
|
| return false;
|
| }
|
|
|
|
|