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 upUrlmageddon #14246
Urlmageddon #14246
Conversation
highfive
commented
Nov 16, 2016
|
Heads up! This PR modifies the following files:
|
highfive
commented
Nov 16, 2016
| Url(Arc<Url>), | ||
| } | ||
|
|
||
| impl From<Url> for ServoUrl { |
This comment has been minimized.
This comment has been minimized.
emilio
Nov 16, 2016
Author
Member
This is just so transition is easier, and needs to be removed afterwards.
|
While you’re at it, is replacing every use of Reviewed 17 of 20 files at r1, 3 of 3 files at r2. components/net/image_cache_thread.rs, line 540 at r2 (raw file):
This (and a couple lines below) needlessly goes through rust-url’s parser even when the components/style/values/specified/url.rs, line 91 at r2 (raw file):
This components/style_traits/Cargo.toml, line 21 at r2 (raw file):
This likely needs a components/style_traits/lib.rs, line 36 at r2 (raw file):
I think it’s OK to call this Comments from Reviewable |
|
|
|
@bors-servo try I was really dubious on the data thing after seeing some use cases, so I decided to defer it for after the landing on this with more discussion, because I think, for example, we should still percent-decode, probably when serializing too. So I'd rather land this (a wrapper for an But I think this is mostly ready for review (given tests pass), and I'd appreciate a fast review given how prone it is to bitrot. |
WIP: Urlmageddon <!-- Please describe your changes on the following line: --> Still needs a bunch of code in net to be converted in order to get more advantage of this for images and stuff, but meanwhile this should help quite a bit with #13778. Still wanted to get this in. r? @SimonSapin <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14246) <!-- Reviewable:end -->
|
|
|
@bors-servo try
|
WIP: Urlmageddon <!-- Please describe your changes on the following line: --> Still needs a bunch of code in net to be converted in order to get more advantage of this for images and stuff, but meanwhile this should help quite a bit with #13778. Still wanted to get this in. r? @SimonSapin <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14246) <!-- Reviewable:end -->
|
|
|
|
Urlmageddon <!-- Please describe your changes on the following line: --> Still needs a bunch of code in net to be converted in order to get more advantage of this for images and stuff, but meanwhile this should help quite a bit with #13778. Still wanted to get this in. r? @SimonSapin <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14246) <!-- Reviewable:end -->
|
|
highfive
commented
Nov 17, 2016
|
|
@bors-servo retry |
Urlmageddon <!-- Please describe your changes on the following line: --> Still needs a bunch of code in net to be converted in order to get more advantage of this for images and stuff, but meanwhile this should help quite a bit with #13778. Still wanted to get this in. r? @SimonSapin <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14246) <!-- Reviewable:end -->
|
|
highfive
commented
Nov 17, 2016
|
|
@bors-servo retry force |
|
|
|
|
emilio commentedNov 16, 2016
•
edited by larsbergstrom
Still needs a bunch of code in net to be converted in order to get more
advantage of this for images and stuff, but meanwhile this should help quite a
bit with #13778.
Still wanted to get this in.
r? @SimonSapin
This change is