mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update FrameTree pipelines when appropriate
Instead of simply creating a new FrameTree when an iframe starts a load, update the existing FrameTree's pipeline. This prevents the FrameTree from accumulating many extra children.
This commit is contained in:
parent
c1d218cf02
commit
6a46eef5cd
4 changed files with 126 additions and 95 deletions
|
@ -203,7 +203,7 @@ pub enum Msg {
|
|||
LoadComplete,
|
||||
FrameRect(PipelineId, SubpageId, Rect<f32>),
|
||||
LoadUrl(PipelineId, LoadData),
|
||||
ScriptLoadedURLInIFrame(Url, PipelineId, SubpageId, IFrameSandboxState),
|
||||
ScriptLoadedURLInIFrame(Url, PipelineId, SubpageId, Option<SubpageId>, IFrameSandboxState),
|
||||
Navigate(NavigationDirection),
|
||||
PainterReady(PipelineId),
|
||||
ResizedWindow(WindowSizeData),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue