1
Fork 0
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:
Timothy Flynn 2023-04-22 14:44:33 -04:00 committed by Andreas Kling
parent 73a80b7047
commit 9c940608fd
3 changed files with 39 additions and 19 deletions

View file

@ -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;