Skip to content

Iframes - #3951

Merged
bors-servo merged 4 commits into
servo:masterfrom
mrobinson:iframes
Nov 12, 2014
Merged

Iframes#3951
bors-servo merged 4 commits into
servo:masterfrom
mrobinson:iframes

Conversation

@mrobinson

Copy link
Copy Markdown
Member

This is the first step to allowing incremental iframe creation and destruction. This should eliminate task failures when an iframe is added to the frame tree lazily via script.

@hoppipolla-critic-bot

Copy link
Copy Markdown

Critic review: https://critic.hoppipolla.co.uk/r/3141

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

@mrobinson

Copy link
Copy Markdown
Member Author

@jdm Perhaps you could review this or suggest someone for review? Thanks!

Comment thread components/compositing/compositor.rs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I usually prefer the above style (that you removed) for imports. The reason is that I can select all the import lines and say :sort in Vim and have it look nice :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been intrigued by this all morning, is there a way to configure vim (which I also use) to sort imports that are inside {} pairs and spread across multiple lines?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not that I know of. I think the right solution is to just have rustfmt do it, once we have that.

@pcwalton

Copy link
Copy Markdown
Contributor

Looks good to me; @jdm should give it a look over too.

@jdm

jdm commented Nov 10, 2014

Copy link
Copy Markdown
Member

Critic'd. I can't comment on the actual correctness of the compositor code, per se, but it looks reasonable to me.

@pcwalton

Copy link
Copy Markdown
Contributor

r=me for the compositor parts once @jdm's issues are addressed.

@jdm

jdm commented Nov 11, 2014

Copy link
Copy Markdown
Member

Squash those puppies.

This better reflects what the message does.
This is a more accurate name for the script pipeline.
This allows the compositor to add frames after the call to SetIds,
where the initial frame tree is created. There are still some issues
preventing proper late frame creation, but this prevents crashes when
it happens.

Fixes servo#3738.
@mrobinson

Copy link
Copy Markdown
Member Author

Okay. Everything is smooshed. I'll move it to bors.

bors-servo pushed a commit that referenced this pull request Nov 12, 2014
This is the first step to allowing incremental iframe creation and destruction. This should eliminate task failures when an iframe is added to the frame tree lazily via script.
@bors-servo bors-servo closed this Nov 12, 2014
@bors-servo
bors-servo merged commit fbb1e0c into servo:master Nov 12, 2014
@mrobinson
mrobinson deleted the iframes branch November 13, 2014 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants