1
Fork 0
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:
Timothy Flynn 2023-04-18 16:19:37 -04:00 committed by Andreas Kling
parent 6f47c53ff9
commit 680a9f748e
6 changed files with 88 additions and 0 deletions

View 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);
};