зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1407000 - Fix error for string WebDriver capabilities. r=automatedtester
MozReview-Commit-ID: I4Il8CoUBiz --HG-- extra : rebase_source : 8c128eb9b5a9a4130816eed4227ff39b6566e2d2
This commit is contained in:
Родитель
f9e18f3217
Коммит
4c2629b200
|
@ -93,7 +93,7 @@ impl SpecNewSessionParameters {
|
|||
x @ "browserVersion" |
|
||||
x @ "platformName" => if !value.is_string() {
|
||||
return Err(WebDriverError::new(ErrorStatus::InvalidArgument,
|
||||
format!("{} was not a boolean", x)))
|
||||
format!("{} is not a string", x)))
|
||||
},
|
||||
"pageLoadStrategy" => {
|
||||
try!(SpecNewSessionParameters::validate_page_load_strategy(value))
|
||||
|
|
Загрузка…
Ссылка в новой задаче