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

LibWeb: Implement document.applets

This is a legacy interface that returns an always-empty HTMLCollection.
This commit is contained in:
Andreas Kling 2021-04-22 22:11:42 +02:00
parent e4df1b223f
commit 43d16fa5b6
3 changed files with 11 additions and 0 deletions

View file

@ -140,6 +140,8 @@ public:
NonnullRefPtr<HTMLCollection> get_elements_by_tag_name(FlyString const&);
NonnullRefPtr<HTMLCollection> get_elements_by_class_name(FlyString const&);
NonnullRefPtr<HTMLCollection> applets();
const String& source() const { return m_source; }
void set_source(const String& source) { m_source = source; }