mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:57:44 +00:00
LibWeb: Implement the MediaError IDL interface
This commit is contained in:
parent
22572c39e0
commit
73a80b7047
6 changed files with 84 additions and 0 deletions
11
Userland/Libraries/LibWeb/HTML/MediaError.idl
Normal file
11
Userland/Libraries/LibWeb/HTML/MediaError.idl
Normal file
|
@ -0,0 +1,11 @@
|
|||
// https://html.spec.whatwg.org/multipage/media.html#mediaerror
|
||||
[Exposed=Window]
|
||||
interface MediaError {
|
||||
const unsigned short MEDIA_ERR_ABORTED = 1;
|
||||
const unsigned short MEDIA_ERR_NETWORK = 2;
|
||||
const unsigned short MEDIA_ERR_DECODE = 3;
|
||||
const unsigned short MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
|
||||
|
||||
readonly attribute unsigned short code;
|
||||
readonly attribute DOMString message;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue