LibJS+LibWeb: Remove remaining use and reference to SafeFunction

This commit is contained in:
Shannon Booth 2024-10-31 06:26:26 +13:00 committed by Alexander Kalenik
parent 716e86f042
commit 797b0d0f43
Notes: github-actions[bot] 2024-10-30 19:56:42 +00:00
26 changed files with 10 additions and 335 deletions

View file

@ -885,7 +885,7 @@ void HTMLFormElement::plan_to_navigate_to(URL::URL url, Variant<Empty, String, P
}
// 4. Queue an element task on the DOM manipulation task source given the form element and the following steps:
// NOTE: `this`, `actual_resource` and `target_navigable` are protected by JS::SafeFunction.
// NOTE: `this`, `actual_resource` and `target_navigable` are protected by JS::HeapFunction.
queue_an_element_task(Task::Source::DOMManipulation, [this, url, post_resource, target_navigable, history_handling, referrer_policy, user_involvement]() {
// 1. Set the form's planned navigation to null.
m_planned_navigation = {};