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

LibWeb: Make factory method of XHR::XMLHttpRequest fallible

This commit is contained in:
Kenneth Myhra 2023-02-14 20:34:37 +01:00 committed by Linus Groh
parent 719839b882
commit f28b8431bf
2 changed files with 3 additions and 3 deletions

View file

@ -38,7 +38,7 @@ public:
Done = 4,
};
static JS::NonnullGCPtr<XMLHttpRequest> construct_impl(JS::Realm&);
static WebIDL::ExceptionOr<JS::NonnullGCPtr<XMLHttpRequest>> construct_impl(JS::Realm&);
virtual ~XMLHttpRequest() override;