mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Upgrade to rust-url 1.0 and hyper 0.9
This commit is contained in:
parent
305c283602
commit
7932ab6ac2
76 changed files with 524 additions and 888 deletions
|
@ -99,7 +99,7 @@ macro_rules! make_url_or_base_getter(
|
|||
let url = element.get_url_attribute(&atom!($htmlname));
|
||||
if url.is_empty() {
|
||||
let window = window_from_node(self);
|
||||
DOMString::from(window.get_url().serialize())
|
||||
DOMString::from(window.get_url().into_string())
|
||||
} else {
|
||||
url
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue