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:
parent
bf048da8cb
commit
cbefab21be
6 changed files with 7 additions and 7 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue