mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a
This commit is contained in:
parent
26045d7fcb
commit
d1b433a3b3
160 changed files with 1427 additions and 1162 deletions
|
@ -367,7 +367,7 @@ impl<'a> WindowHelpers for JSRef<'a, Window> {
|
|||
/// Commence a new URL load which will either replace this window or scroll to a fragment.
|
||||
fn load_url(self, href: DOMString) {
|
||||
let base_url = self.page().get_url();
|
||||
debug!("current page url is {:?}", base_url);
|
||||
debug!("current page url is {}", base_url);
|
||||
let url = UrlParser::new().base_url(&base_url).parse(href.as_slice());
|
||||
// FIXME: handle URL parse errors more gracefully.
|
||||
let url = url.unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue