mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 17:48:37 +00:00
LibWeb: Add methods to Document that must do nothing
This change adds the `clear()`, `captureEvents()` and `releaseEvents()` methods to the document object. These methods are obsolete, but are still included in the HTML specification, which says they must do nothing.
This commit is contained in:
parent
2b905cc482
commit
0564e06f10
Notes:
sideshowbarker
2024-07-18 05:37:06 +09:00
Author: https://github.com/tcl3
Commit: 0564e06f10
Pull-request: https://github.com/SerenityOS/serenity/pull/23959
5 changed files with 38 additions and 0 deletions
|
@ -243,6 +243,10 @@ public:
|
|||
JS::NonnullGCPtr<HTMLCollection> scripts();
|
||||
JS::NonnullGCPtr<HTML::HTMLAllCollection> all();
|
||||
|
||||
void clear();
|
||||
void capture_events();
|
||||
void release_events();
|
||||
|
||||
String const& source() const { return m_source; }
|
||||
void set_source(String source) { m_source = move(source); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue