Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upiframe.goBack() doesn't paint the previous pipeline #9919
Comments
|
So first, I think we revoke paint permission of the wrong pipeline: servo/components/compositing/constellation.rs Line 1614 in 5b28a41 Here we traverse the frame tree, but the top level frame of that tree should not use But that's apparently not enough. The right frame tree is sent to the compositor. Paint permissions appear to be properly set. With WR, the old page is not replace by the new one. |
|
cc @glennw |
|
@paulrouget I'm not sure I understand what's wrong with that code. On the first iteration through that loop, pipeline_id should be equal to frame.current - is it not? From there it should loop through any iframes in the free tree from that root. The iframe goBack() code certainly used to work and I don't think that part has changed for quite some time, so I suspect a regression elsewhere. |
If I understand correctly how this works, it is not.
|
|
regression: c72d0c2 |
navigation. Since WebRender uses the pipeline ID stored in the iframe element to determine which pipeline to display, it had better be kept up to date! Closes servo#9919.
navigation. Since WebRender uses the pipeline ID stored in the iframe element to determine which pipeline to display, it had better be kept up to date! Closes servo#9919.
navigation. Since WebRender uses the pipeline ID stored in the iframe element to determine which pipeline to display, it had better be kept up to date! Closes servo#9919.
|
@paulrouget Should be fixed by #10159. |
|
follow up for the |
navigation. Since WebRender uses the pipeline ID stored in the iframe element to determine which pipeline to display, it had better be kept up to date! Closes servo#9919.
|
Can we close this in favor of #10162, in the absence of known actual browser.html problems this is causing? |
|
So this is fixed. #10162 doesn't cause any bug afaict. Just thought I filed it just in case. |
|
Sorry, not fixed, I though #10159 landed. |
|
Oh right, sorry about that. |
navigation. Since WebRender uses the pipeline ID stored in the iframe element to determine which pipeline to display, it had better be kept up to date! Closes servo#9919.
script: Make iframes know their pipeline IDs at all times, even after navigation. Since WebRender uses the pipeline ID stored in the iframe element to determine which pipeline to display, it had better be kept up to date! Closes #9919. r? @jdm <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10159) <!-- Reviewable:end -->
navigation. Since WebRender uses the pipeline ID stored in the iframe element to determine which pipeline to display, it had better be kept up to date! Closes servo#9919.
script: Make iframes know their pipeline IDs at all times, even after navigation. Since WebRender uses the pipeline ID stored in the iframe element to determine which pipeline to display, it had better be kept up to date! Closes #9919. r? @jdm <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10159) <!-- Reviewable:end -->
STR:
"foo" should show up.