1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 11:34:59 +00:00

LibWeb: Port fire_a_page_transition_event() to new FlyString

This commit is contained in:
Kenneth Myhra 2023-04-09 11:17:42 +02:00 committed by Linus Groh
parent bf048da8cb
commit cbefab21be
6 changed files with 7 additions and 7 deletions

View file

@ -313,7 +313,7 @@ void HTMLParser::the_end()
document->set_page_showing(true);
// 11. Fire a page transition event named pageshow at window with false.
window->fire_a_page_transition_event(HTML::EventNames::pageshow.to_deprecated_fly_string(), false);
window->fire_a_page_transition_event(HTML::EventNames::pageshow, false);
// 12. Completely finish loading the Document.
document->completely_finish_loading();