mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
LibJS+LibWeb: Remove remaining use and reference to SafeFunction
This commit is contained in:
committed by
Alexander Kalenik
parent
716e86f042
commit
797b0d0f43
@@ -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 = {};
|
||||
|
||||
Reference in New Issue
Block a user