1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:48:11 +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

@ -1125,7 +1125,7 @@ WebIDL::ExceptionOr<void> BrowsingContext::traverse_the_history(size_t entry_ind
// 4. Fire a page transition event named pageshow at newDocument's relevant global object with true.
auto& window = verify_cast<HTML::Window>(relevant_global_object(*new_document));
window.fire_a_page_transition_event(HTML::EventNames::pageshow.to_deprecated_fly_string(), true);
window.fire_a_page_transition_event(HTML::EventNames::pageshow, true);
});
}