Conversation
|
Heads up! This PR modifies the following files:
|
components/style_traits/lib.rs
Outdated
| Url(Arc<Url>), | ||
| } | ||
|
|
||
| impl From<Url> for ServoUrl { |
There was a problem hiding this comment.
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 |
|
☔ The latest upstream changes (presumably #14172) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@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 -->
|
💔 Test failed - arm64 |
|
@bors-servo try
|
|
⌛ Trying commit 4401845 with merge 915a63b... |
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 -->
|
💔 Test failed - mac-rel-wpt2 |
|
📌 Commit 913c874 has been approved by |
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 -->
|
💔 Test failed - linux-rel-wpt |
|
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 -->
|
💔 Test failed - linux-rel-wpt |
|
|
@bors-servo retry force |
|
⚡ Previous build results for arm32, arm64, linux-dev, mac-dev-unit, windows-dev are reusable. Rebuilding only linux-rel-css, linux-rel-wpt, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2... |
|
☀️ Test successful - arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-dev |
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