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 upMake it possible for iframes to create their own pipeline ID. #7807
Conversation
highfive
commented
Sep 30, 2015
|
@jdm This introduces the core functionality that allows iframes to generate their own pipeline IDs. This is the first step towards allowing us to simplify all management of SubpageIds. This should be a much simpler PR to review than doing the entire change at once. r? |
|
Reviewed 9 of 9 files at r1. components/compositing/constellation.rs, line 336 [r1] (raw file):
I guess I haven't found anything that seems wrong, per se, but the setup is feels less intuitive than it was before. I fear what will happen when we start grouping pipelines in the same script task by origin, even for simple setups like clicking a link on a.com that goes to a.com/page and uses the same script thread for the load. components/compositing/constellation.rs, line 620 [r1] (raw file): components/devtools/lib.rs, line 436 [r1] (raw file): components/gfx/paint_task.rs, line 186 [r1] (raw file): components/layout/layout_task.rs, line 280 [r1] (raw file): components/msg/constellation_msg.rs, line 226 [r1] (raw file): components/msg/constellation_msg.rs, line 397 [r1] (raw file): components/msg/constellation_msg.rs, line 428 [r1] (raw file): components/msg/constellation_msg.rs, line 451 [r1] (raw file): components/script/dom/htmliframeelement.rs, line 123 [r1] (raw file): components/script/script_task.rs, line 496 [r1] (raw file): Comments from the review on Reviewable.io |
|
I wonder if this fixes #7826. |
|
Review status: 3 of 9 files reviewed at latest revision, 11 unresolved discussions, all commit checks successful. components/compositing/constellation.rs, line 336 [r1] (raw file): components/compositing/constellation.rs, line 620 [r1] (raw file): components/devtools/lib.rs, line 0 [r1] (raw file): components/gfx/paint_task.rs, line 0 [r1] (raw file): components/layout/layout_task.rs, line 0 [r1] (raw file): components/msg/constellation_msg.rs, line 0 [r1] (raw file): components/msg/constellation_msg.rs, line 0 [r1] (raw file): components/msg/constellation_msg.rs, line 0 [r1] (raw file): components/msg/constellation_msg.rs, line 0 [r1] (raw file): components/script/dom/htmliframeelement.rs, line 0 [r1] (raw file): components/script/script_task.rs, line 0 [r1] (raw file): Comments from the review on Reviewable.io |
|
-S-awaiting-review +S-needs-code-changes -S-awaiting-answer Reviewed 6 of 6 files at r2. components/compositing/constellation.rs, line 336 [r1] (raw file): components/msg/constellation_msg.rs, line 226 [r1] (raw file): components/msg/constellation_msg.rs, line 397 [r1] (raw file): components/msg/constellation_msg.rs, line 406 [r2] (raw file): Comments from the review on Reviewable.io |
|
Review status: 5 of 9 files reviewed at latest revision, 6 unresolved discussions, all commit checks successful. components/compositing/constellation.rs, line 0 [r1] (raw file): components/msg/constellation_msg.rs, line 226 [r1] (raw file): components/msg/constellation_msg.rs, line 396 [r2] (raw file): components/msg/constellation_msg.rs, line 397 [r1] (raw file): Comments from the review on Reviewable.io |
|
Looks good! Squash and merge! Reviewed 4 of 4 files at r3. Comments from the review on Reviewable.io |
This doesn't change any functionality, but it's the first step towards removing SubpageId. Adding this change now will allow us to gradually change over code referencing subpage id rather than in one massive PR. Introduces a namespace for pipeline ID generation - there is a namespace for the constellation thread, and one per script thread.
|
@bors-servo r=jdm |
|
|
Make it possible for iframes to create their own pipeline ID. This doesn't change any functionality, but it's the first step towards removing SubpageId. Adding this change now will allow us to gradually change over code referencing subpage id rather than in one massive PR. Introduces a namespace for pipeline ID generation - there is a namespace for the constellation thread, and one per script thread. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7807) <!-- Reviewable:end -->
|
|
glennw commentedSep 30, 2015
This doesn't change any functionality, but it's the first step towards removing SubpageId.
Adding this change now will allow us to gradually change over code referencing subpage id rather than in one massive PR.
Introduces a namespace for pipeline ID generation - there is a namespace for the constellation thread, and one per script thread.