mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 22:08:59 +00:00
LibWeb: Dispatch DOM "load" event on <iframe> elements
This commit is contained in:
parent
86a4eaca38
commit
618dcbe405
Notes:
sideshowbarker
2024-07-19 02:16:27 +09:00
Author: https://github.com/awesomekling
Commit: 618dcbe405
4 changed files with 15 additions and 0 deletions
|
@ -86,4 +86,9 @@ const DOM::Document* HTMLIFrameElement::content_document() const
|
|||
return m_content_frame ? m_content_frame->document() : nullptr;
|
||||
}
|
||||
|
||||
void HTMLIFrameElement::content_frame_did_load(Badge<FrameLoader>)
|
||||
{
|
||||
dispatch_event(DOM::Event::create("load"));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue