1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:37:45 +00:00

LibWeb: Make factory method of DOM::AbortSignal fallible

This commit is contained in:
Kenneth Myhra 2023-02-14 21:02:46 +01:00 committed by Linus Groh
parent c4d559bd37
commit a5ad8b2959
3 changed files with 4 additions and 4 deletions

View file

@ -18,7 +18,7 @@ class AbortSignal final : public EventTarget {
WEB_PLATFORM_OBJECT(AbortSignal, EventTarget);
public:
static JS::NonnullGCPtr<AbortSignal> construct_impl(JS::Realm&);
static WebIDL::ExceptionOr<JS::NonnullGCPtr<AbortSignal>> construct_impl(JS::Realm&);
virtual ~AbortSignal() override = default;