-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Use hosts-replaced URL only when loading resources #6416
Conversation
jgraham
commented
Jun 18, 2015
Critic review: https://critic.hoppipolla.co.uk/r/5320 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 |
r? @Manishearth I'm not really sure that this is perfect; I couldn't decide which urls to put in error messages, and it generally feels a bit fragile. |
@@ -21,6 +21,9 @@ path = "../util" | |||
[dependencies.msg] | |||
path = "../msg" | |||
|
|||
[dependencies.net] | |||
path = "../net" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope! net_traits exists for a reason.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh look, a @jdm!
You want the whole of the HOSTS_FILE stuff moved into net_traits then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Or make it polymorphic on a trait in net_traits
. The former is okay.
Mostly LGTM except for the dependency. Also, there should be some comments about what the various |
|
@@ -24,4 +24,5 @@ log = "*" | |||
url = "0.2.35" | |||
hyper = "0.5" | |||
euclid = "0.1" | |||
|
|||
regex = "0.1.33" | |||
regex_macros = "0.1.19" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason you got rid of the EOL at the end of the file?
☔ The latest upstream changes (presumably #6460) made this pull request unmergeable. Please resolve the merge conflicts. |
8cd704c
to
15ca46f
Compare
@bors-servo: r+ |
📌 Commit 15ca46f has been approved by |
Use hosts-replaced URL only when loading resources <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6416) <!-- Reviewable:end -->
💔 Test failed - gonk |
@bors-servo: r+ |
📌 Commit 49a1cfe has been approved by |
Use hosts-replaced URL only when loading resources <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6416) <!-- Reviewable:end -->
💔 Test failed - mac1 |
|
This PR really doesn't want to merge! |
Seems like there shouldn't have been any metadata updates at all. Which makes some sense as wptrunner hasn't been updated to use the right host name. |
@bors-servo: r+ |
📌 Commit f52276d has been approved by |
Use hosts-replaced URL only when loading resources <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6416) <!-- Reviewable:end -->
Update to unicode-bidi 0.2.1 Also includes some missing changes from #6416. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6998) <!-- Reviewable:end -->
Update to unicode-bidi 0.2.1 Also includes some missing changes from #6416. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6998) <!-- Reviewable:end -->