servo: Merge #10410 - Update webdriver (from Ms2ger:update-webdriver); r=jdm

Source-Repo: https://github.com/servo/servo
Source-Revision: 35fbcbe9a8cc6bf23debf6d84bdeb7c37f436741
This commit is contained in:
Ms2ger
2016-04-06 23:25:25 +05:00
parent fbd339ae5a
commit 30015a31e1
4 changed files with 6 additions and 8 deletions

View File

@@ -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)
}