mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 09:54:57 +00:00
LibWeb: Add type for FrameLoader::load
This should enable to destinguish between IFrame, Reload and Navigation motivated loads in order to call the appropriate hooks. This change is motivated as loading the IFrame test page causes the IFrame url to be added to the history and shows up as the current browser location bar.
This commit is contained in:
parent
6105f063cb
commit
a5b8cc2d0b
7 changed files with 19 additions and 11 deletions
|
@ -79,7 +79,7 @@ void HTMLIFrameElement::load_src(const String& value)
|
|||
return;
|
||||
}
|
||||
|
||||
m_hosted_frame->loader().load(url);
|
||||
m_hosted_frame->loader().load(url, FrameLoader::Type::IFrame);
|
||||
}
|
||||
|
||||
const Document* HTMLIFrameElement::hosted_document() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue