dom/webidl/DecoderDoctorNotification.webidl
author Gerald Squelart <gsquelart@mozilla.com>
Wed, 07 Sep 2016 22:48:06 -0700
changeset 315256 cd40559e25d7c6f64d0efd73c6b92799d192661d
parent 315075 2ae91c5e535428c55e037ad17b85e9b5d1b53b12
child 315265 b4cae9fb786b36b5974a010cb51bcbea3f960888
permissions -rw-r--r--
Bug 1247056 - New DecoderDoctorNotificationType - r=smaug MozReview-Commit-ID: H5EuLPNRlhu

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/.
 */

enum DecoderDoctorNotificationType {
  "cannot-play",
  "platform-decoder-not-found",
  "can-play-but-some-missing-decoders",
  "cannot-initialize-pulseaudio",
};

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;
};