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:
Matthew Olsson
2024-05-17 17:14:06 -07:00
committed by Andrew Kaster
parent e0d6afbabe
commit a98ad191c7
29 changed files with 60 additions and 59 deletions

View File

@@ -16,7 +16,7 @@ class HTMLFormControlsCollection : public HTMLCollection {
JS_DECLARE_ALLOCATOR(HTMLFormControlsCollection);
public:
[[nodiscard]] static JS::NonnullGCPtr<HTMLFormControlsCollection> create(ParentNode& root, Scope, Function<bool(Element const&)> filter);
[[nodiscard]] static JS::NonnullGCPtr<HTMLFormControlsCollection> create(ParentNode& root, Scope, ESCAPING Function<bool(Element const&)> filter);
virtual ~HTMLFormControlsCollection() override;
@@ -28,7 +28,7 @@ protected:
virtual WebIDL::ExceptionOr<JS::Value> named_item_value(FlyString const& name) const final;
private:
HTMLFormControlsCollection(ParentNode& root, Scope, Function<bool(Element const&)> filter);
HTMLFormControlsCollection(ParentNode& root, Scope, ESCAPING Function<bool(Element const&)> filter);
};
}