From cc6976d92c94037f98932ccc0dd6a9e138008b76 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Tue, 5 Apr 2016 10:33:03 +0200 Subject: [PATCH] Update webdriver. --- components/servo/Cargo.lock | 5 ++--- components/webdriver_server/Cargo.toml | 2 +- components/webdriver_server/lib.rs | 2 +- ports/cef/Cargo.lock | 5 ++--- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/components/servo/Cargo.lock b/components/servo/Cargo.lock index 053d6ed1a96..42f28afb578 100644 --- a/components/servo/Cargo.lock +++ b/components/servo/Cargo.lock @@ -2287,14 +2287,13 @@ dependencies = [ [[package]] name = "webdriver" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "hyper 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", "regex 0.1.55 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", - "uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -2313,7 +2312,7 @@ dependencies = [ "url 0.5.7 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", - "webdriver 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "webdriver 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] diff --git a/components/webdriver_server/Cargo.toml b/components/webdriver_server/Cargo.toml index 55d599bba05..720d7689c25 100644 --- a/components/webdriver_server/Cargo.toml +++ b/components/webdriver_server/Cargo.toml @@ -31,4 +31,4 @@ rustc-serialize = "0.3.4" regex = "0.1.55" url = {version = "0.5.7", features = ["heap_size"]} uuid = "0.1" -webdriver = "0.7" +webdriver = "0.8" diff --git a/components/webdriver_server/lib.rs b/components/webdriver_server/lib.rs index 90752f28686..03ea0291caf 100644 --- a/components/webdriver_server/lib.rs +++ b/components/webdriver_server/lib.rs @@ -602,7 +602,7 @@ impl Handler { "page load" => self.load_timeout = value, "script" => self.script_timeout = value, x => return Err(WebDriverError::new(ErrorStatus::InvalidSelector, - &format!("Unknown timeout type {}", x))) + format!("Unknown timeout type {}", x))) } Ok(WebDriverResponse::Void) } diff --git a/ports/cef/Cargo.lock b/ports/cef/Cargo.lock index d68c1a79a59..5dbc3b9725d 100644 --- a/ports/cef/Cargo.lock +++ b/ports/cef/Cargo.lock @@ -2155,14 +2155,13 @@ dependencies = [ [[package]] name = "webdriver" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "hyper 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", "regex 0.1.55 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", - "uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -2181,7 +2180,7 @@ dependencies = [ "url 0.5.7 (registry+https://github.com/rust-lang/crates.io-index)", "util 0.0.1", "uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", - "webdriver 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "webdriver 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]]