mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 14:28:49 +00:00
LibWeb: Update run_iframe_load_event_steps to use navigables
This commit is contained in:
parent
76a97d8863
commit
38034237c5
Notes:
sideshowbarker
2024-07-17 18:23:22 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 38034237c5
Pull-request: https://github.com/SerenityOS/serenity/pull/18219
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue