mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:58:11 +00:00
LibWeb: Add special "potentially delay the load event" logic for iframes
`<iframe>`s only potentially delay the load event when their `current_navigation_was_lazy_loaded` flag is false, so let's wire that up to the flag's setter, and actually call it!
This commit is contained in:
parent
7f509317fd
commit
72376ad15a
2 changed files with 14 additions and 5 deletions
|
@ -25,7 +25,7 @@ public:
|
|||
|
||||
virtual JS::GCPtr<Layout::Node> create_layout_node(NonnullRefPtr<CSS::StyleProperties>) override;
|
||||
|
||||
void set_current_navigation_was_lazy_loaded(bool value) { m_current_navigation_was_lazy_loaded = value; }
|
||||
void set_current_navigation_was_lazy_loaded(bool value);
|
||||
|
||||
Optional<HighResolutionTime::DOMHighResTimeStamp> const& pending_resource_start_time() const { return m_pending_resource_start_time; }
|
||||
void set_pending_resource_start_time(Optional<HighResolutionTime::DOMHighResTimeStamp> time) { m_pending_resource_start_time = time; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue