geckodriver: Currently Marionette does not return a value, we need to pass this on to the client

bindings.

See issue https://bugzilla.mozilla.org/show_bug.cgi?id=1282833

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: cfae2cbd51acc9f9a4cedf9f6a60892a5b223fe2

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : rebase_source : 3fc0bfeeb7549a839d1b4d29ab8ecdb626a3d9d7
This commit is contained in:
AutomatedTester 2016-10-06 13:07:54 +01:00
Родитель a7fce87296
Коммит 31150cff81
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -556,7 +556,7 @@ impl MarionetteSession {
Ok(match msg.command {
//Everything that doesn't have a response value
Get(_) | GoBack | GoForward | Refresh | Close | SetTimeouts(_) |
Get(_) | GoBack | GoForward | Refresh | Close | SetTimeouts(_) | SetWindowPosition(_) |
SetWindowSize(_) | MaximizeWindow | SwitchToWindow(_) | SwitchToFrame(_) |
SwitchToParentFrame | AddCookie(_) | DeleteCookies | DeleteCookie(_) |
DismissAlert | AcceptAlert | SendAlertText(_) | ElementClick(_) |
@ -566,7 +566,7 @@ impl MarionetteSession {
//Things that simply return the contents of the marionette "value" property
GetCurrentUrl | GetTitle | GetPageSource | GetWindowHandle | IsDisplayed(_) |
IsSelected(_) | GetElementAttribute(_, _) | GetElementProperty(_, _) |
GetCSSValue(_, _) | GetElementText(_) | SetWindowPosition(_) |
GetCSSValue(_, _) | GetElementText(_) |
GetElementTagName(_) | IsEnabled(_) | ExecuteScript(_) | ExecuteAsyncScript(_) |
GetAlertText | TakeScreenshot => {
let value = try_opt!(resp.result.find("value"),