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

Add DOMLoad message to constellation that is sent after the DOM Load event is dispatched. #6415

Merged
merged 1 commit into from Aug 7, 2015

Conversation

@jgraham
Copy link
Contributor

jgraham commented Jun 18, 2015

Review on Reviewable

@hoppipolla-critic-bot
Copy link

hoppipolla-critic-bot commented Jun 18, 2015

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

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.

@metajack
Copy link
Contributor

metajack commented Jun 18, 2015

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.


components/compositing/constellation.rs, line 716 [r1] (raw file):
Why are these split now? Some explanation would be useful as it's not obvious just from reading through the code here.


Comments from the review on Reviewable.io

@jgraham
Copy link
Contributor Author

jgraham commented Jun 24, 2015

Review status: 0 of 3 files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.


components/compositing/constellation.rs, line 716 [r1] (raw file):
If the question is essentially "why do we have LoadComplete and "DOMLoad", the answer is "I'm not sure". I suspect that LodComplete should never be used because it's racy, but I just made the minimal change. @glennw might know more.


Comments from the review on Reviewable.io

@glennw
Copy link
Member

glennw commented Jun 24, 2015

Review status: 0 of 3 files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.


components/compositing/constellation.rs, line 716 [r1] (raw file):
I'm also not sure why they both exist. When I made the changes to fix the reftest race conditions, I considered removing LoadComplete because it seemed like it wasn't particularly useful due to what jgraham mentioned above. I left it at the time because the patch was already large and some parts of the mac miniservo build were using the LoadComplete callback (I don't think anything else does). Perhaps add a TODO / GH issue to investigate whether it can be removed?


Comments from the review on Reviewable.io

@jgraham
Copy link
Contributor Author

jgraham commented Jun 24, 2015

Review status: 0 of 3 files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.


components/compositing/constellation.rs, line 716 [r1] (raw file):
Issue #6455 filed on this. Does it also need another comment in the code (the match statement that dispatches here already has a comment that describes when each message is produced)?


Comments from the review on Reviewable.io

@jdm
Copy link
Member

jdm commented Jul 17, 2015

-S-awaiting-review -S-awaiting-answer +S-needs-code-changes


Reviewed 3 of 3 files at r2.
Review status: all files reviewed at latest revision, 2 unresolved discussions, all commit checks successful.


components/compositing/constellation.rs, line 716 [r1] (raw file):
Yes, LoadComplete should go away, but it will be easier for someone to do once this split it accomplished.


components/compositing/constellation.rs, line 720 [r2] (raw file):
Nix the unused argument.


Comments from the review on Reviewable.io

@metajack
Copy link
Contributor

metajack commented Jul 29, 2015

@jgraham ping

…event is dispatched.
@jgraham jgraham force-pushed the jgraham:dom_load branch from 666c462 to 36da7e2 Aug 7, 2015
@jgraham
Copy link
Contributor Author

jgraham commented Aug 7, 2015

Review status: all files reviewed at latest revision, 2 unresolved discussions, all commit checks successful.


components/compositing/constellation.rs, line 716 [r1] (raw file):
OK, I'm assuming no further action is required for now.


Comments from the review on Reviewable.io

@jdm
Copy link
Member

jdm commented Aug 7, 2015

@bors-servo: r+
-S-awaiting-review +S-awaiting-merge


Reviewed 3 of 3 files at r3.
Review status: all files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.


Comments from the review on Reviewable.io

@bors-servo
Copy link
Contributor

bors-servo commented Aug 7, 2015

📌 Commit 36da7e2 has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Aug 7, 2015

Testing commit 36da7e2 with merge 361d94d...

bors-servo pushed a commit that referenced this pull request Aug 7, 2015
bors-servo
Add DOMLoad message to constellation that is sent after the DOM Load event is dispatched.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6415)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 7, 2015

☀️ Test successful - android, gonk, linux1, linux2, mac1, mac2, mac3

@bors-servo bors-servo merged commit 36da7e2 into servo:master Aug 7, 2015
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
emilio added a commit to emilio/servo that referenced this pull request Jul 27, 2016
See the PR in which this commit landed and also
servo#6415 (comment)
emilio added a commit to emilio/servo that referenced this pull request Jul 27, 2016
See the PR in which this commit landed and also
servo#6415 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

7 participants
You can’t perform that action at this time.