LibWeb: Update run_iframe_load_event_steps to use navigables

This commit is contained in:
Aliaksandr Kalenik 2023-09-07 01:13:27 +02:00 committed by Andreas Kling
parent 76a97d8863
commit 38034237c5
Notes: sideshowbarker 2024-07-17 18:23:22 +09:00

View file

@ -166,8 +166,8 @@ void run_iframe_load_event_steps(HTML::HTMLIFrameElement& element)
return;
}
// 2. Let childDocument be the active document of element's nested browsing context.
[[maybe_unused]] auto* child_document = element.nested_browsing_context()->active_document();
// 2. Let childDocument be element's content navigable's active document.
[[maybe_unused]] auto child_document = element.content_navigable()->active_document();
// FIXME: 3. If childDocument has its mute iframe load flag set, then return.