mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
LibWeb: Port {HTML,UIEvents,XHR}::EventNames to new String
This commit is contained in:
parent
d6cf9f5329
commit
4d87072201
Notes:
sideshowbarker
2024-07-17 06:20:50 +09:00
Author: https://github.com/kennethmyhra
Commit: 4d87072201
Pull-request: https://github.com/SerenityOS/serenity/pull/17825
Reviewed-by: https://github.com/linusg ✅
Reviewed-by: https://github.com/trflynn89
42 changed files with 149 additions and 142 deletions
|
@ -62,7 +62,7 @@ void AbortSignal::signal_abort(JS::Value reason)
|
|||
m_abort_algorithms.clear();
|
||||
|
||||
// 5. Fire an event named abort at signal.
|
||||
dispatch_event(Event::create(realm(), HTML::EventNames::abort).release_value_but_fixme_should_propagate_errors());
|
||||
dispatch_event(Event::create(realm(), HTML::EventNames::abort.to_deprecated_fly_string()).release_value_but_fixme_should_propagate_errors());
|
||||
}
|
||||
|
||||
void AbortSignal::set_onabort(WebIDL::CallbackType* event_handler)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue