Bug 1271483 - p4. Fixed console reporting for Widevine case - r=cpearce

Message was not including the actual Key System at issue.

MozReview-Commit-ID: CavgSGmYCa3
This commit is contained in:
Gerald Squelart 2016-05-16 15:43:19 +10:00
Родитель 484d14eab0
Коммит 941f072570
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -425,7 +425,7 @@ DecoderDoctorDocumentWatcher::SynthesizeAnalysis()
case DecoderDoctorDiagnostics::eWidevineWithNoWMF: case DecoderDoctorDiagnostics::eWidevineWithNoWMF:
if (CheckSilverlight() != eSilverlightEnabled) { if (CheckSilverlight() != eSilverlightEnabled) {
DD_DEBUG("DecoderDoctorDocumentWatcher[%p, doc=%p]::SynthesizeAnalysis() - unsupported key systems: %s, widevine without WMF nor Silverlight", DD_DEBUG("DecoderDoctorDocumentWatcher[%p, doc=%p]::SynthesizeAnalysis() - unsupported key systems: %s, widevine without WMF nor Silverlight",
this, mDocument, NS_ConvertUTF16toUTF8(unplayableFormats).get()); this, mDocument, NS_ConvertUTF16toUTF8(unsupportedKeySystems).get());
ReportAnalysis(dom::DecoderDoctorNotificationType::Platform_decoder_not_found, ReportAnalysis(dom::DecoderDoctorNotificationType::Platform_decoder_not_found,
"MediaWidevineNoWMFNoSilverlight", NS_LITERAL_STRING("")); "MediaWidevineNoWMFNoSilverlight", NS_LITERAL_STRING(""));
return; return;