mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00
LibWeb: Port FormDataEvent to new String
This commit is contained in:
parent
eed69e5093
commit
bb7ae423d5
4 changed files with 7 additions and 7 deletions
|
@ -19,14 +19,14 @@ class FormDataEvent final : public DOM::Event {
|
|||
WEB_PLATFORM_OBJECT(FormDataEvent, DOM::Event);
|
||||
|
||||
public:
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<FormDataEvent>> construct_impl(JS::Realm&, DeprecatedString const& event_name, FormDataEventInit const& event_init);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<FormDataEvent>> construct_impl(JS::Realm&, FlyString const& event_name, FormDataEventInit const& event_init);
|
||||
|
||||
virtual ~FormDataEvent() override;
|
||||
|
||||
JS::GCPtr<XHR::FormData> form_data() const { return m_form_data; }
|
||||
|
||||
private:
|
||||
FormDataEvent(JS::Realm&, DeprecatedString const& event_name, FormDataEventInit const& event_init);
|
||||
FormDataEvent(JS::Realm&, FlyString const& event_name, FormDataEventInit const& event_init);
|
||||
|
||||
JS::ThrowCompletionOr<void> initialize(JS::Realm&) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue