mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +00:00
LibWeb: Implement the HTMLMediaElement error attribute
This commit is contained in:
parent
73a80b7047
commit
9c940608fd
3 changed files with 39 additions and 19 deletions
|
@ -1,4 +1,5 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
#import <HTML/MediaError.idl>
|
||||
#import <HTML/TimeRanges.idl>
|
||||
#import <HTML/VideoTrackList.idl>
|
||||
|
||||
|
@ -12,6 +13,9 @@ enum CanPlayTypeResult {
|
|||
[Exposed=Window]
|
||||
interface HTMLMediaElement : HTMLElement {
|
||||
|
||||
// error state
|
||||
readonly attribute MediaError? error;
|
||||
|
||||
// network state
|
||||
[Reflect, CEReactions] attribute DOMString src;
|
||||
readonly attribute USVString currentSrc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue