diff options
author | Luke Wilde <lukew@serenityos.org> | 2022-10-28 15:38:35 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-28 16:17:08 +0100 |
commit | 377eb09492177a7d99a91e1a0fba65ff9b823585 (patch) | |
tree | e0aa87b48d1a91cc9b682eb270eac6d966fe7dec /Userland | |
parent | 62e3117dfdbc372b03f18e60e220e820701e26d6 (diff) | |
download | serenity-377eb09492177a7d99a91e1a0fba65ff9b823585.zip |
LibWeb: Stub HTMLMediaElement.load
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLMediaElement.cpp | 5 | ||||
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLMediaElement.h | 2 | ||||
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLMediaElement.idl | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.cpp index 6247638475..202c645dc9 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.cpp @@ -35,4 +35,9 @@ Bindings::CanPlayTypeResult HTMLMediaElement::can_play_type(String const& type) return Bindings::CanPlayTypeResult::Empty; } +void HTMLMediaElement::load() const +{ + dbgln("(STUBBED) HTMLMediaElement::load()"); +} + } diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.h b/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.h index 9e4dfe4f18..5c95a20fb5 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.h @@ -18,6 +18,8 @@ public: Bindings::CanPlayTypeResult can_play_type(String const& type) const; + void load() const; + protected: HTMLMediaElement(DOM::Document&, DOM::QualifiedName); }; diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.idl index b328bc8ac0..0a468555bc 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.idl @@ -18,4 +18,5 @@ interface HTMLMediaElement : HTMLElement { [Reflect] attribute boolean controls; CanPlayTypeResult canPlayType(DOMString type); + undefined load(); }; |