mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:38:13 +00:00
LibWeb: Stub out the HTML TimeRanges IDL interface
This is used by media elements. Provide a stub for websites which depend on the interface existing.
This commit is contained in:
parent
6f47c53ff9
commit
680a9f748e
6 changed files with 88 additions and 0 deletions
7
Userland/Libraries/LibWeb/HTML/TimeRanges.idl
Normal file
7
Userland/Libraries/LibWeb/HTML/TimeRanges.idl
Normal file
|
@ -0,0 +1,7 @@
|
|||
// https://html.spec.whatwg.org/multipage/media.html#timeranges
|
||||
[Exposed=Window]
|
||||
interface TimeRanges {
|
||||
readonly attribute unsigned long length;
|
||||
double start(unsigned long index);
|
||||
double end(unsigned long index);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue