mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-11 01:22:12 +02:00
LibWeb: Dispatch DOM "load" event on <iframe> elements
This commit is contained in:
@@ -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"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user