webdriver: Simplify Responses for Rect type calls to use same struct and impl (#101)
commit0218060e281c0da3438e0c87beb352feb57ccc31
authorDavid Burns <david.burns@theautomatedtester.co.uk>
Thu, 15 Jun 2017 14:05:39 +0000 (15 15:05 +0100)
committerDavid Burns <david.burns@theautomatedtester.co.uk>
Thu, 15 Jun 2017 14:05:39 +0000 (15 15:05 +0100)
treef0de461a6866889d5ff058206903e95f5d7c6745
parent3dc0737cbb6f27c17409b240a2a9a4ef25340b15
webdriver: Simplify Responses for Rect type calls to use same struct and impl (#101)

This merges the WindowRectResponse and ElementRectResponse into
a single struct. It also moves the types in the struct to floats which
aligns with the WebDriver specification as in
https://w3c.github.io/webdriver/webdriver-spec.html#get-element-rect
and in https://w3c.github.io/webdriver/webdriver-spec.html#dfn-window-rect.

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 1c59375428214f3f8e2d61b1bee6182a8eaca5f8

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 0cb0b440a4812343774d09b55da8062a09be93c9
testing/webdriver/src/response.rs