mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 12:37:44 +00:00
LibWeb: Make factory method of XHR::XMLHttpRequest fallible
This commit is contained in:
parent
719839b882
commit
f28b8431bf
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue