Bug 1271483 - p4. Fixed console reporting for Widevine case - r=cpearce
authorGerald Squelart <gsquelart@mozilla.com>
Mon, 16 May 2016 15:43:19 +1000
changeset 302289 ed7dc9a4cbe6e0abcb45a101c34c1d89d45c0c07
parent 302288 f156a01bcf57ed7f66c0a0b65dadda0db3f4bcec
child 302290 32ec54498aee8a604ec4b0ec46556abd30de9daa
push id30356
push usercbook@mozilla.com
push dateWed, 22 Jun 2016 11:45:58 +0000
treeherdermozilla-central@4e17dca08962 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscpearce
bugs1271483
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
dom/media/DecoderDoctorDiagnostics.cpp
--- a/dom/media/DecoderDoctorDiagnostics.cpp
+++ b/dom/media/DecoderDoctorDiagnostics.cpp
@@ -420,17 +420,17 @@ DecoderDoctorDocumentWatcher::Synthesize
 
   // Look at Key System issues first, as they may influence format checks.
   if (!unsupportedKeySystems.IsEmpty() && supportedKeySystems.IsEmpty()) {
     // No supported key systems!
     switch (lastKeySystemIssue) {
       case DecoderDoctorDiagnostics::eWidevineWithNoWMF:
         if (CheckSilverlight() != eSilverlightEnabled) {
           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,
                          "MediaWidevineNoWMFNoSilverlight", NS_LITERAL_STRING(""));
           return;
         }
         break;
       default:
         break;
     }