mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 14:19:48 +00:00
Userland: Add ESCAPING annotations to a bunch of places
This isn't comprehensive; just a result of a simple grep search.
This commit is contained in:
parent
e0d6afbabe
commit
a98ad191c7
Notes:
sideshowbarker
2024-07-17 07:25:39 +09:00
Author: https://github.com/mattco98
Commit: a98ad191c7
Pull-request: https://github.com/SerenityOS/serenity/pull/24361
Reviewed-by: https://github.com/ADKaster ✅
29 changed files with 60 additions and 59 deletions
|
@ -21,7 +21,7 @@ class HTMLOptionsCollection final : public DOM::HTMLCollection {
|
|||
JS_DECLARE_ALLOCATOR(HTMLOptionsCollection);
|
||||
|
||||
public:
|
||||
[[nodiscard]] static JS::NonnullGCPtr<HTMLOptionsCollection> create(DOM::ParentNode& root, Function<bool(DOM::Element const&)> filter);
|
||||
[[nodiscard]] static JS::NonnullGCPtr<HTMLOptionsCollection> create(DOM::ParentNode& root, ESCAPING Function<bool(DOM::Element const&)> filter);
|
||||
virtual ~HTMLOptionsCollection() override;
|
||||
|
||||
WebIDL::ExceptionOr<void> set_length(WebIDL::UnsignedLong);
|
||||
|
@ -34,7 +34,7 @@ public:
|
|||
void set_selected_index(WebIDL::Long);
|
||||
|
||||
private:
|
||||
HTMLOptionsCollection(DOM::ParentNode& root, Function<bool(DOM::Element const&)> filter);
|
||||
HTMLOptionsCollection(DOM::ParentNode& root, ESCAPING Function<bool(DOM::Element const&)> filter);
|
||||
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue