Skip to content

Commit

Permalink
servo: Merge #9840 - Update to rust-url 1.0 (from servo:url-1.0); r=a…
Browse files Browse the repository at this point in the history
…sajeffrey

**Do not merge yet:** rust-url 1.0 is not published yet and may still get breaking changes. The goal of this PR for now is to demonstrate API usage.

Depends on:

* <s>https://github.com/servo/rust-url/pull/176</s>
* <s>https://github.com/alexcrichton/cookie-rs/pull/42</s>
* <s>https://github.com/hyperium/hyper/pull/740</s>
* https://github.com/cyderize/rust-websocket/pull/70
* mozilla/webdriver-rust#28

Source-Repo: https://github.com/servo/servo
Source-Revision: 84ab7e9fe8f4a6528995eff3eb6e814cb724c364

UltraBlame original commit: 6da38378a33a0b292803ee9f46fd03ed7ecd4968
  • Loading branch information
marco-c committed Oct 1, 2019
1 parent dd6e854 commit 8f8be59
Show file tree
Hide file tree
Showing 75 changed files with 3,053 additions and 3,867 deletions.
6 changes: 3 additions & 3 deletions servo/components/compositing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -656,11 +656,11 @@ url
version
=
"
0
1
.
5
0
.
7
0
"
features
=
Expand Down
2 changes: 1 addition & 1 deletion servo/components/compositing/constellation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15299,7 +15299,7 @@ pipeline
.
url
.
serialize
to_string
(
)
)
Expand Down
2 changes: 1 addition & 1 deletion servo/components/devtools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ version
"
0
.
8
9
"
features
=
Expand Down
6 changes: 5 additions & 1 deletion servo/components/devtools/actors/network_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,11 @@ request
.
url
.
serialize
as_str
(
)
.
to_owned
(
)
;
Expand Down
2 changes: 1 addition & 1 deletion servo/components/devtools/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1843,7 +1843,7 @@ url
:
url
.
serialize
into_string
(
)
console
Expand Down
8 changes: 4 additions & 4 deletions servo/components/devtools_traits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ version
"
0
.
8
9
"
features
=
Expand Down Expand Up @@ -168,11 +168,11 @@ url
version
=
"
0
1
.
5
0
.
7
0
"
features
=
Expand Down
6 changes: 3 additions & 3 deletions servo/components/gfx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,11 @@ url
version
=
"
0
1
.
5
0
.
7
0
"
features
=
Expand Down
6 changes: 3 additions & 3 deletions servo/components/layout/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -526,11 +526,11 @@ url
version
=
"
0
1
.
5
0
.
7
0
"
features
=
Expand Down
12 changes: 3 additions & 9 deletions servo/components/layout/layout_thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7115,17 +7115,14 @@ for
{
}
"
*
self
.
url
.
borrow
(
)
.
serialize
(
)
)
;
let
Expand Down Expand Up @@ -7430,17 +7427,14 @@ for
{
}
"
*
self
.
url
.
borrow
(
)
.
serialize
(
)
)
;
if
Expand Down Expand Up @@ -10287,7 +10281,7 @@ borrow
(
)
.
serialize
to_string
(
)
iframe
Expand Down
6 changes: 3 additions & 3 deletions servo/components/layout_traits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,11 @@ url
version
=
"
0
1
.
5
0
.
7
0
"
features
=
Expand Down
8 changes: 4 additions & 4 deletions servo/components/msg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ version
"
0
.
8
9
"
features
=
Expand Down Expand Up @@ -266,11 +266,11 @@ url
version
=
"
0
1
.
5
0
.
7
0
"
features
=
Expand Down
24 changes: 17 additions & 7 deletions servo/components/net/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ version
"
0
.
8
9
"
features
=
Expand Down Expand Up @@ -231,6 +231,13 @@ log
.
5
"
matches
=
"
0
.
1
"
mime
=
"
Expand Down Expand Up @@ -298,18 +305,23 @@ url
version
=
"
0
1
.
5
0
.
7
0
"
features
=
[
"
heap_size
"
"
rustc
-
serialize
"
]
}
uuid
Expand All @@ -335,9 +347,7 @@ websocket
"
0
.
16
.
1
17
"
[
target
Expand Down
19 changes: 7 additions & 12 deletions servo/components/net/about_loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,21 +250,12 @@ clone
(
)
;
let
non_relative_scheme_data
=
match
url
.
non_relative_scheme_data
(
)
.
unwrap
path
(
)
;
match
non_relative_scheme_data
{
"
blank
Expand Down Expand Up @@ -422,7 +413,11 @@ mut
load_data
&
(
non_relative_scheme_data
url
.
path
(
)
.
to_owned
(
Expand Down
Loading

0 comments on commit 8f8be59

Please sign in to comment.