Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null compositor does not assign sizes for subpages #8573

Closed
notriddle opened this issue Nov 17, 2015 · 6 comments
Closed

Null compositor does not assign sizes for subpages #8573

notriddle opened this issue Nov 17, 2015 · 6 comments

Comments

@notriddle
Copy link
Contributor

@notriddle notriddle commented Nov 17, 2015

The non-headless compositor is assigning the size based on the size of the iframe's corresponding layer, which the headless one never creates.

Why isn't layout doing this job? After all, it always exists.

@jdm
Copy link
Member

@jdm jdm commented Nov 17, 2015

@glennw do you know the answer to this question?

@glennw
Copy link
Member

@glennw glennw commented Nov 17, 2015

This is probably more a question for @pcwalton - I can't quite recall the details (although I can probably dig into the code and find out if pcwalton doesn't know). On a tangent - what purpose does the null compositor actually serve these days? Since we're able to run the normal compositor in headless mode without any X dependencies, do we need to keep the null compositor?

@notriddle
Copy link
Contributor Author

@notriddle notriddle commented Nov 17, 2015

The null compositor is used when nothing needs to be drawn, like with
script tests.

On Tue, Nov 17, 2015, 16:36 Glenn Watson notifications@github.com wrote:

This is probably more a question for @pcwalton
https://github.com/pcwalton - I can't quite recall the details
(although I can probably dig into the code and find out if pcwalton doesn't
know). On a tangent - what purpose does the null compositor actually serve
these days? Since we're able to run the normal compositor in headless mode
without any X dependencies, do we need to keep the null compositor?


Reply to this email directly or view it on GitHub
#8573 (comment).

@glennw
Copy link
Member

@glennw glennw commented Nov 17, 2015

Sure, but given that it adds an extra maintenance burden, perhaps it's simpler just to run the script tests with the normal compositor running in headless mode?

@Ms2ger
Copy link
Contributor

@Ms2ger Ms2ger commented Nov 18, 2015

If that works just as well, I guess that would be fine.

@jdm
Copy link
Member

@jdm jdm commented Nov 18, 2015

This is not the first time we've been bitten by different behaviour between the compositor implementations. We should kill it if we can.

bors-servo added a commit that referenced this issue Nov 21, 2015
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Nov 21, 2015
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Nov 21, 2015
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Nov 21, 2015
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Nov 21, 2015
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Nov 22, 2015
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Nov 28, 2015
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Dec 5, 2015
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Dec 29, 2015
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Jan 2, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Jan 2, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Jan 19, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Jan 31, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Feb 2, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Feb 4, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Feb 17, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Feb 21, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Feb 21, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Feb 21, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Feb 21, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Feb 21, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Feb 22, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Feb 22, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Feb 22, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Feb 26, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
nox added a commit to nox/servo that referenced this issue Mar 12, 2016
This is essentially rewritten from the earlier version, to have as
absolutely minimal amount of special code related to headless operation
as possible.

Fixes servo#8573
nox added a commit that referenced this issue Mar 12, 2016
This is essentially rewritten from the earlier version, to have as
absolutely minimal amount of special code related to headless operation
as possible.

Fixes #8573
nox added a commit that referenced this issue Mar 12, 2016
This is essentially rewritten from the earlier version, to have as
absolutely minimal amount of special code related to headless operation
as possible.

Fixes #8573
nox added a commit that referenced this issue Mar 12, 2016
This is essentially rewritten from the earlier version, to have as
absolutely minimal amount of special code related to headless operation
as possible.

Fixes #8573
bors-servo added a commit that referenced this issue Mar 12, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Mar 14, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Mar 14, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Mar 18, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Mar 18, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Mar 18, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Mar 23, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Mar 23, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Mar 23, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Mar 23, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Mar 23, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Mar 24, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Mar 28, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Mar 29, 2016
No more headless compositor. Just the normal one.

Fixes #8573

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641)
<!-- Reviewable:end -->
@talklittle talklittle mentioned this issue Jun 3, 2016
4 of 5 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.