servo: Merge #9840 - Update to rust-url 1.0 (from servo:url-1.0); r=asajeffrey

**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
* https://github.com/jgraham/webdriver-rust/pull/28

Source-Repo: https://github.com/servo/servo
Source-Revision: 84ab7e9fe8f4a6528995eff3eb6e814cb724c364
This commit is contained in:
Simon Sapin
2016-04-23 11:28:31 -07:00
parent 0c1d57a2ab
commit b7019c2535
75 changed files with 588 additions and 808 deletions

View File

@@ -353,7 +353,7 @@ impl Handler {
let url = receiver.recv().unwrap();
Ok(WebDriverResponse::Generic(ValueResponse::new(url.serialize().to_json())))
Ok(WebDriverResponse::Generic(ValueResponse::new(url.as_str().to_json())))
}
fn handle_window_size(&self) -> WebDriverResult<WebDriverResponse> {