LibWeb: Add a stub for HTMLMediaElement.played()

This commit is contained in:
Psychpsyo 2025-02-14 11:22:01 +01:00 committed by Andrew Kaster
parent 0206697d36
commit 3952ff4786
Notes: github-actions[bot] 2025-02-18 17:46:36 +00:00
3 changed files with 14 additions and 1 deletions

View file

@ -57,6 +57,7 @@ public:
NetworkState network_state() const { return m_network_state; }
[[nodiscard]] GC::Ref<TimeRanges> buffered() const;
[[nodiscard]] GC::Ref<TimeRanges> played() const;
static inline constexpr auto supported_video_subtypes = Array {
"webm"sv,