mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1414256 - [webdriver] Fix spelling error for unknown capabilities. r=jgraham,whimboo
MozReview-Commit-ID: 5mrQLw81loK --HG-- extra : rebase_source : 745790bf6f9abbbdca4218b9e0493cad7f1c8763
This commit is contained in:
parent
fa911e3e35
commit
6c2bd362a0
@ -110,7 +110,7 @@ impl SpecNewSessionParameters {
|
||||
x => {
|
||||
if !x.contains(":") {
|
||||
return Err(WebDriverError::new(ErrorStatus::InvalidArgument,
|
||||
format!("{} is not a the name of a known capability or a valid extension capability", x)))
|
||||
format!("{} is not the name of a known capability or a valid extension capability", x)))
|
||||
} else {
|
||||
try!(browser_capabilities.validate_custom(x, value));
|
||||
}
|
||||
@ -130,7 +130,7 @@ impl SpecNewSessionParameters {
|
||||
x => {
|
||||
return Err(WebDriverError::new(
|
||||
ErrorStatus::InvalidArgument,
|
||||
format!("\"{}\" not a valid page load strategy", x)))
|
||||
format!("\"{}\" is not a valid page load strategy", x)))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user