| Index: Source/core/css/FontFaceSet.cpp
|
| diff --git a/Source/core/css/FontFaceSet.cpp b/Source/core/css/FontFaceSet.cpp
|
| index c9838d2df51298ff3a7e460aa6f16527939f448c..d241d24e38b7cab0d45e5786baf5ad30f7a7d569 100644
|
| --- a/Source/core/css/FontFaceSet.cpp
|
| +++ b/Source/core/css/FontFaceSet.cpp
|
| @@ -343,7 +343,7 @@ Vector<RefPtr<FontFace> > FontFaceSet::match(const String& fontString, const Str
|
|
|
| Font font;
|
| if (!resolveFontStyle(fontString, font)) {
|
| - es.throwDOMException(SyntaxError);
|
| + es.throwUninformativeAndGenericDOMException(SyntaxError);
|
| return matchedFonts;
|
| }
|
|
|
| @@ -360,7 +360,7 @@ ScriptPromise FontFaceSet::load(const String& fontString, const String&, Excepti
|
| // FIXME: The second parameter (text) is ignored.
|
| Font font;
|
| if (!resolveFontStyle(fontString, font)) {
|
| - es.throwDOMException(SyntaxError);
|
| + es.throwUninformativeAndGenericDOMException(SyntaxError);
|
| return ScriptPromise();
|
| }
|
|
|
| @@ -382,7 +382,7 @@ bool FontFaceSet::check(const String& fontString, const String&, ExceptionState&
|
| // FIXME: The second parameter (text) is ignored.
|
| Font font;
|
| if (!resolveFontStyle(fontString, font)) {
|
| - es.throwDOMException(SyntaxError);
|
| + es.throwUninformativeAndGenericDOMException(SyntaxError);
|
| return false;
|
| }
|
|
|
|
|