1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:47:35 +00:00

LibWeb: Stub out the HTMLMediaElement buffered attribute

This is needed by https://store.steampowered.com. For now, we return an
empty TimeRanges object.
This commit is contained in:
Timothy Flynn 2023-04-18 16:22:34 -04:00 committed by Andreas Kling
parent 680a9f748e
commit 7833b321a3
3 changed files with 18 additions and 0 deletions

View file

@ -40,6 +40,8 @@ public:
};
NetworkState network_state() const { return m_network_state; }
WebIDL::ExceptionOr<JS::NonnullGCPtr<TimeRanges>> buffered() const;
WebIDL::ExceptionOr<Bindings::CanPlayTypeResult> can_play_type(DeprecatedString const& type) const;
enum class ReadyState : u16 {