Bug 1271483 - p8. More details in DecoderDoctorNotification - r=smaug draft
authorGerald Squelart <gsquelart@mozilla.com>
Thu, 26 May 2016 23:24:40 +1000
changeset 380481 d846239c99f9f0073cc4b27975cdfc03e811f395
parent 380480 10bfefe6fcf5456353408d07f5785689266c3f4e
child 380482 373703ee7f332306a1f5d7a8647189d21aa24646
push id21230
push usergsquelart@mozilla.com
push dateWed, 22 Jun 2016 01:46:41 +0000
reviewerssmaug
bugs1271483
milestone50.0a1
Bug 1271483 - p8. More details in DecoderDoctorNotification - r=smaug Added some fields required by telemetry. Now with some documentation! (Notifying code in p9, handling code in p10.) MozReview-Commit-ID: 4mTHlkpjCxx
dom/webidl/DecoderDoctorNotification.webidl
--- a/dom/webidl/DecoderDoctorNotification.webidl
+++ b/dom/webidl/DecoderDoctorNotification.webidl
@@ -7,10 +7,15 @@
 enum DecoderDoctorNotificationType {
   "cannot-play",
   "platform-decoder-not-found",
   "can-play-but-some-missing-decoders"
 };
 
 dictionary DecoderDoctorNotification {
   required DecoderDoctorNotificationType type;
+  // True when the issue has been solved.
+  required boolean isSolved;
+  // Key from dom.properties, used for telemetry and prefs.
+  required DOMString decoderDoctorReportId;
+  // If provided, formats (or key systems) at issue.
   DOMString formats;
 };