LibWeb: Make factory method of Fetch::HeadersIterator fallible

This commit is contained in:
Kenneth Myhra 2023-02-19 15:33:03 +01:00 committed by Andreas Kling
commit a2381a672d
Notes: sideshowbarker 2024-07-17 21:11:12 +09:00
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ class HeadersIterator final : public Bindings::PlatformObject {
WEB_PLATFORM_OBJECT(HeadersIterator, Bindings::PlatformObject);
public:
static JS::NonnullGCPtr<HeadersIterator> create(Headers const&, JS::Object::PropertyKind iteration_kind);
static WebIDL::ExceptionOr<JS::NonnullGCPtr<HeadersIterator>> create(Headers const&, JS::Object::PropertyKind iteration_kind);
virtual ~HeadersIterator() override;