Index: Source/core/css/FontLoader.cpp |
diff --git a/Source/core/css/FontLoader.cpp b/Source/core/css/FontLoader.cpp |
index 94aeca097a4bce6676ccde1f59c14df273576006..da59f1bee607d82e68d96431f877d6d991e6c35f 100644 |
--- a/Source/core/css/FontLoader.cpp |
+++ b/Source/core/css/FontLoader.cpp |
@@ -98,6 +98,8 @@ void FontLoader::didFailToDecode(FontResource* fontResource) |
// See crbug.com/97467 |
if (m_fontSelector && m_fontSelector->document()) |
m_fontSelector->document()->addConsoleMessage(ConsoleMessage::create(OtherMessageSource, WarningMessageLevel, "Failed to decode downloaded font: " + fontResource->url().elidedString())); |
+ if (fontResource->otsParsingMessage().length() > 1) |
+ m_fontSelector->document()->addConsoleMessage(ConsoleMessage::create(OtherMessageSource, WarningMessageLevel, "OTS parsing error: " + fontResource->otsParsingMessage())); |
} |
#if !ENABLE(OILPAN) |