Bug 1299072: P2. Add media decoding error types. r=gerald

MozReview-Commit-ID: KW2pWsXtffp

--HG--
extra : rebase_source : 0d8878c00d165250a25a6be0fd9c965539a077ce
This commit is contained in:
Jean-Yves Avenard 2016-09-09 23:08:45 +10:00
Родитель 9be58da88a
Коммит 2dbf4a63af
1 изменённых файлов: 12 добавлений и 0 удалений

Просмотреть файл

@ -976,6 +976,18 @@
ERROR(NS_ERROR_DOM_MEDIA_ABORT_ERR, FAILURE(1)),
ERROR(NS_ERROR_DOM_MEDIA_NOT_ALLOWED_ERR, FAILURE(2)),
ERROR(NS_ERROR_DOM_MEDIA_NOT_SUPPORTED_ERR, FAILURE(3)),
/* HTMLMediaElement internal decoding error */
ERROR(NS_ERROR_DOM_MEDIA_DECODE_ERR, FAILURE(4)),
ERROR(NS_ERROR_DOM_MEDIA_FATAL_ERR, FAILURE(5)),
ERROR(NS_ERROR_DOM_MEDIA_METADATA_ERR, FAILURE(6)),
ERROR(NS_ERROR_DOM_MEDIA_OVERFLOW_ERR, FAILURE(7)),
ERROR(NS_ERROR_DOM_MEDIA_END_OF_STREAM, FAILURE(8)),
ERROR(NS_ERROR_DOM_MEDIA_WAITING_FOR_DATA, FAILURE(9)),
ERROR(NS_ERROR_DOM_MEDIA_CANCELED, FAILURE(10)),
ERROR(NS_ERROR_DOM_MEDIA_MEDIASINK_ERR, FAILURE(11)),
ERROR(NS_ERROR_DOM_MEDIA_DEMUXER_ERR, FAILURE(12)),
ERROR(NS_ERROR_DOM_MEDIA_CDM_ERR, FAILURE(13)),
#undef MODULE
/* ======================================================================= */