Index: core/html/MediaError.idl |
diff --git a/core/html/MediaError.idl b/core/html/MediaError.idl |
index aaffbc230d95186693d0081f763dd686627ae853..0d8b10087fb60b98ebb397eec3892c31ee84d7a7 100644 |
--- a/core/html/MediaError.idl |
+++ b/core/html/MediaError.idl |
@@ -23,6 +23,8 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// https://html.spec.whatwg.org/#error-codes |
+ |
[ |
RuntimeEnabled=Media, |
WillBeGarbageCollected, |
@@ -31,6 +33,5 @@ |
const unsigned short MEDIA_ERR_NETWORK = 2; |
const unsigned short MEDIA_ERR_DECODE = 3; |
const unsigned short MEDIA_ERR_SRC_NOT_SUPPORTED = 4; |
- [RuntimeEnabled=EncryptedMediaAnyVersion, DeprecateAs=MediaErrorEncrypted] const unsigned short MEDIA_ERR_ENCRYPTED = 5; |
readonly attribute unsigned short code; |
}; |