mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:07:35 +00:00
LibWeb: Make factory method of XHR::ProgressEvent fallible
This commit is contained in:
parent
35622606c1
commit
84c7af4dcb
3 changed files with 6 additions and 6 deletions
|
@ -23,8 +23,8 @@ class ProgressEvent final : public DOM::Event {
|
|||
WEB_PLATFORM_OBJECT(ProgressEvent, DOM::Event);
|
||||
|
||||
public:
|
||||
static ProgressEvent* create(JS::Realm&, DeprecatedFlyString const& event_name, ProgressEventInit const& event_init);
|
||||
static ProgressEvent* construct_impl(JS::Realm&, DeprecatedFlyString const& event_name, ProgressEventInit const& event_init);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<ProgressEvent>> create(JS::Realm&, DeprecatedFlyString const& event_name, ProgressEventInit const& event_init);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<ProgressEvent>> construct_impl(JS::Realm&, DeprecatedFlyString const& event_name, ProgressEventInit const& event_init);
|
||||
|
||||
virtual ~ProgressEvent() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue