Bug 1271483 - p4. Fixed console reporting for Widevine case - r=cpearce, a=lizzard
authorGerald Squelart <gsquelart@mozilla.com>
Mon, 16 May 2016 15:43:19 +1000
changeset 341805 a1b956fd336aa0531d3e555528f63368aee14548
parent 341804 cebc765f65c5a0638a430782dccbdb974f67c588
child 341806 41617bfea7c83715fbad786b9f795d233a47b40c
push id1183
push userraliiev@mozilla.com
push dateMon, 05 Sep 2016 20:01:49 +0000
treeherdermozilla-release@3148731bed45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscpearce, lizzard
bugs1271483
milestone49.0a2
Bug 1271483 - p4. Fixed console reporting for Widevine case - r=cpearce, a=lizzard 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;
     }