mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
LibWeb: Use SafeFunction for completion steps in "populate SHE"
...to visit GC-allocated objects captured by this callback.
This commit is contained in:
committed by
Andreas Kling
parent
64ad536dbb
commit
55154b6c68
@@ -1025,7 +1025,7 @@ WebIDL::ExceptionOr<void> Navigable::populate_session_history_entry_document(
|
||||
Variant<Empty, JS::NonnullGCPtr<NavigationParams>, JS::NonnullGCPtr<NonFetchSchemeNavigationParams>> navigation_params,
|
||||
CSPNavigationType csp_navigation_type,
|
||||
bool allow_POST,
|
||||
Function<void()> completion_steps)
|
||||
JS::SafeFunction<void()> completion_steps)
|
||||
{
|
||||
// FIXME: 1. Assert: this is running in parallel.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user