Skip to content

Update rust-selectors - #6427

Merged
bors-servo merged 1 commit into
masterfrom
selector-traits-refactor
Jun 21, 2015
Merged

bors-servo merged 1 commit into
masterfrom
selector-traits-refactor

Conversation

@SimonSapin

Copy link
Copy Markdown
Member

servo/rust-selectors#30

r? @Ms2ger

This conflicts with the SpiderMonkey upgrade #6150. I’m happy to wait until that lands and rebase.

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jun 19, 2015
@highfive

Copy link
Copy Markdown

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

@hoppipolla-critic-bot

Copy link
Copy Markdown

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

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.

@Ms2ger Ms2ger added the S-blocked-on-external Something, somewhere else, needs to happen before this PR can be merged. label Jun 19, 2015
@SimonSapin
SimonSapin force-pushed the selector-traits-refactor branch from d93bf5f to fc25397 Compare June 20, 2015 05:05
@SimonSapin

Copy link
Copy Markdown
Member Author

Rebase, now that #6150 has landed. r? @Ms2ger

@SimonSapin SimonSapin removed the S-blocked-on-external Something, somewhere else, needs to happen before this PR can be merged. label Jun 20, 2015
@Ms2ger

Ms2ger commented Jun 20, 2015

Copy link
Copy Markdown
Contributor

Would it make sense to implement those traits on Node rather than &'a Node?

@Ms2ger Ms2ger self-assigned this Jun 20, 2015
@Ms2ger Ms2ger added S-awaiting-answer Someone asked a question that requires an answer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jun 21, 2015
@SimonSapin

Copy link
Copy Markdown
Member Author

I tried that at first, but e.g. get_parent returns Self, not &'a Self, and I don’t think returning an owned/cloned Node is what we want. In Kuchiki on the other hand, the trait is implemented for NodeRef which contains an Rc, so the ownership of the strong reference is significant and changing the trait to return &'a Self wouldn’t work.

@Ms2ger

Ms2ger commented Jun 21, 2015

Copy link
Copy Markdown
Contributor

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit fc25397 has been approved by Ms2ger

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit fc25397 with merge 7021546...

bors-servo pushed a commit that referenced this pull request Jun 21, 2015
Update rust-selectors

servo/rust-selectors#30

r? @Ms2ger

This conflicts with the SpiderMonkey upgrade #6150. I’m happy to wait until that lands and rebase.

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

Copy link
Copy Markdown
Contributor

💔 Test failed - linux2

@Ms2ger

Ms2ger commented Jun 21, 2015

Copy link
Copy Markdown
Contributor

@bors-servo retry

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit fc25397 with merge c119b59...

bors-servo pushed a commit that referenced this pull request Jun 21, 2015
Update rust-selectors

servo/rust-selectors#30

r? @Ms2ger

This conflicts with the SpiderMonkey upgrade #6150. I’m happy to wait until that lands and rebase.

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

Copy link
Copy Markdown
Contributor

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

@bors-servo
bors-servo merged commit fc25397 into master Jun 21, 2015
@Ms2ger
Ms2ger deleted the selector-traits-refactor branch June 22, 2015 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-answer Someone asked a question that requires an answer.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants