Bug 1343442 - Decode-error/warning webidl notification types and data - r=smaug

Decoder Doctor webidl additions:
DecoderDoctorNotificationType.decode-error and decode-warning
DecoderDoctorNotification.decodeIssue, docURL and resourceURL

MozReview-Commit-ID: FK0YOCeuQMX

--HG--
extra : rebase_source : 1ec54438befc112695e97dfd71bc95609246775f
This commit is contained in:
Gerald Squelart 2017-03-22 16:13:41 +11:00
parent 7296f7dc86
commit 3ebc1ee4d6

View File

@ -10,6 +10,8 @@ enum DecoderDoctorNotificationType {
"can-play-but-some-missing-decoders",
"cannot-initialize-pulseaudio",
"unsupported-libavcodec",
"decode-error",
"decode-warning",
};
dictionary DecoderDoctorNotification {
@ -20,4 +22,10 @@ dictionary DecoderDoctorNotification {
required DOMString decoderDoctorReportId;
// If provided, formats (or key systems) at issue.
DOMString formats;
// If provided, technical details about the decode-error/warning.
DOMString decodeIssue;
// If provided, URL of the document where the issue happened.
DOMString docURL;
// If provided, URL of the media resource that caused a decode-error/warning.
DOMString resourceURL;
};