mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibWeb/HTML: Implement HTMLMediaElement.addTextTrack
Removes some noise from the console when browsing bbc.co.uk :^)
This commit is contained in:
parent
ff08c2f735
commit
793248aec9
Notes:
github-actions[bot]
2024-07-26 07:31:07 +00:00
Author: https://github.com/jamierocks
Commit: 793248aec9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/836
5 changed files with 61 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
#import <HTML/AudioTrackList.idl>
|
||||
#import <HTML/HTMLElement.idl>
|
||||
#import <HTML/MediaError.idl>
|
||||
#import <HTML/TextTrack.idl>
|
||||
#import <HTML/TextTrackList.idl>
|
||||
#import <HTML/TimeRanges.idl>
|
||||
#import <HTML/VideoTrackList.idl>
|
||||
|
@ -70,6 +71,6 @@ interface HTMLMediaElement : HTMLElement {
|
|||
[SameObject] readonly attribute AudioTrackList audioTracks;
|
||||
[SameObject] readonly attribute VideoTrackList videoTracks;
|
||||
[SameObject] readonly attribute TextTrackList textTracks;
|
||||
[FIXME] TextTrack addTextTrack(TextTrackKind kind, optional DOMString label = "", optional DOMString language = "");
|
||||
TextTrack addTextTrack(TextTrackKind kind, optional DOMString label = "", optional DOMString language = "");
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue