mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-16 16:12:53 +00:00
LibJS+LibWeb: Remove remaining use and reference to SafeFunction
This commit is contained in:
parent
716e86f042
commit
797b0d0f43
Notes:
github-actions[bot]
2024-10-30 19:56:42 +00:00
Author: https://github.com/shannonbooth
Commit: 797b0d0f43
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2062
Reviewed-by: https://github.com/kalenikaliaksandr ✅
26 changed files with 10 additions and 335 deletions
|
@ -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 = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue