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

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
parent b3734627a1
commit a2381a672d
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;