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