Граф коммитов

197 Коммитов

Автор SHA1 Сообщение Дата
Steve Armand 6c2bd362a0 Bug 1414256 - [webdriver] Fix spelling error for unknown capabilities. r=jgraham,whimboo
MozReview-Commit-ID: 5mrQLw81loK

--HG--
extra : rebase_source : 745790bf6f9abbbdca4218b9e0493cad7f1c8763
2017-11-04 19:00:48 -04:00
Andreas Tolfsen 54380b0c6a Bug 1410799 - Fix HTTP status for stale element reference error r=jgraham
The HTTP status for the "stale element reference" error in WebDriver
should be 404 (Not Found).

MozReview-Commit-ID: CBb7Ds8AEY3

--HG--
extra : rebase_source : 9b4309d43118730e20cb4ba17312a49cc203c58b
2017-11-01 18:02:15 +00:00
Andreas Tolfsen ea4dbaf7a9 Bug 1413292 - Remove backtrace crate dependency from geckodriver. r=jgraham
Made this a separate commit from that which actually removes the
in-tree vendored dependencies to make it easier to review.

MozReview-Commit-ID: 9xbkM0EfOOL

--HG--
extra : rebase_source : 6686dc07a25df1a820914eb715fb733778f092cb
2017-10-31 20:31:53 +00:00
Andreas Tolfsen a1b7e2cd46 Bug 1413292 - Stop sending geckodriver backtrace with errors. r=jgraham
The Rust backtrace from geckodriver is  not useful since any error
we actually return is by-definition handled by the code, and we
can probably get more information just by looking at the error type
and string.

At the same time, it runs the risk of confusing users into thinking
there was a bug in the driver when actually it's perfectly normal
handling of invalid input.

MozReview-Commit-ID: 9S5IaioA5AA

--HG--
extra : rebase_source : 0d98188c263d51402c2330a6b730752487dcc7fc
2017-10-31 20:30:18 +00:00
Joel Maher 34110f34d0 Bug 1412904 - fill in missing bugzilla_components in testing/webdriver. r=ato 2017-10-31 12:27:48 -04:00
Andreas Tolfsen f056551b50 Bug 1412037 - Release webdriver crate 0.32.0. r=jgraham
A release of the webdriver crate is necessary for the release build
to pass on Travis, since testing/geckodriver/Cargo.toml cannot
depend on testing/webdriver as it is exported to the GitHub repository.

MozReview-Commit-ID: 1S2aAtg50t4

--HG--
extra : rebase_source : 53ef155537a44ef2bc141ea30a635e4144625118
2017-10-26 18:05:29 +01:00
Andreas Tolfsen b2ef602242 Bug 1411026 - Provide String type conversion for ErrorStatus. r=whimboo
This allows us to construct an ErrorStatus variant from a String.
This is useful if the remote end implementation uses the string
codes for transport.

The new From<String> trait for ErrorStatus is a reverse lookup of
ErrorStatus::error_code.

It currently handles two cases of Selenium errors, which are "element
not visible" and "invalid element coordinates".  Both these have
been deprecated in the WebDriver standard and we need to figure
out a deprecation strategy for them.

MozReview-Commit-ID: 48MAVNQoiKy

--HG--
extra : rebase_source : 80c0932e3d42cfe19faa673d558790c83762dba1
2017-10-23 21:46:44 +01:00
Andreas Tolfsen fe6ba66d6c Bug 1409438 - Make references to mutable variables immutable. r=whimboo
References to mutable variables do not need mutable themselves.
This fixes a series of mutable variable warnings emitted by the
Rust compiler.

MozReview-Commit-ID: EosL5XNRRX4

--HG--
extra : rebase_source : 62aa86b2c6c87a5f39ee228dcad6b5e4162779d8
2017-10-17 17:04:11 +01:00
Andreas Tolfsen cc5abdb455 Bug 1407000 - Lint match_browser. r=automatedtester
No functional changes here, but the indentation was wrong in many
places, making it very hard to read the code.

MozReview-Commit-ID: Iku7yPD30QV

--HG--
extra : rebase_source : 31aa77135ca7f89eab60335b5bb968c4d6f1294a
2017-10-09 19:11:31 +01:00
Andreas Tolfsen 6034b21f96 Bug 1407000 - Prefer error messages in the present. r=automatedtester
s/was/is/ in various error messages for harmony.

MozReview-Commit-ID: IrRw4Vl8bIK

--HG--
extra : rebase_source : 2e4a26077733fc4a182dca0feedd14291675d6ad
2017-10-09 19:08:46 +01:00
Andreas Tolfsen 4c2629b200 Bug 1407000 - Fix error for string WebDriver capabilities. r=automatedtester
MozReview-Commit-ID: I4Il8CoUBiz

--HG--
extra : rebase_source : 8c128eb9b5a9a4130816eed4227ff39b6566e2d2
2017-10-09 19:05:59 +01:00
Henrik Skupin 884db29fa1 Bug 1403503 - Remove obsolete socksUsername and socksPassword capabilities. r=automatedtester
MozReview-Commit-ID: bHqc96uzsm

--HG--
extra : rebase_source : 633bcc11d85addf837abca71120959b4b5f6aeb5
2017-09-28 09:28:13 +02:00
Andreas Tolfsen 1c41d7c2a0 Bug 1391605 - Release webdriver 0.31.0. r=me
MozReview-Commit-ID: O3cTr5t58F
2017-09-16 15:13:50 +01:00
Sebastian Hengst cf8b6a9dcf Backed out changeset 82b8e6f1b4d9 (bug 1391605) for build bustage. r=backout 2017-09-16 14:22:54 +02:00
Andreas Tolfsen e7a12573ad Bug 1391605 - Release webdriver 0.31.0. r=me
MozReview-Commit-ID: O3cTr5t58F
2017-09-16 11:45:07 +01:00
Andreas Tolfsen 7050aaf58b Bug 1396866 - Relax WindowRectResponse typing. r=jgraham
The WindowProxy screenX/screenY/outerWidth/outerHeight fields are
platform-independent longs, meaning the bitness of the system is not
taken into account.  This is defined in WebIDL as "a signed integer type
that has values in the range [−2147483648, 2147483647]".  This can be
represented with an i32 internally.

Additionally, the WebDriver specification says that we should accept
JSON Numbers as input.  This means the input value can be either a float
or an integer.  rustc_serialize handles this very badly and we first
need to extract the input as f64 because this is the most liberal type
(i.e. an integer can be coerced to a float without problem).

We then we cast the number to an i64 which trims off any decimals without
worrying that the number wraps.  We then run bounds checks of an i32
and error if the number will not fit within the set range.

This patch expects the output from Marionette to be conforming.

MozReview-Commit-ID: CVdUZWh2t8X

--HG--
extra : rebase_source : 6780985703d5d5291eae508f9eb2fdec16c261cc
2017-09-09 12:21:50 +01:00
Andreas Tolfsen 5a76982786 Bug 1396838 - Drop WindowState. r=jgraham
The window state concept was removed from WebDriver level 1.

MozReview-Commit-ID: 6cogstpDc0a

--HG--
extra : rebase_source : 539df9fed0761b8e9609f60c3f9b77b946829147
2017-09-05 14:50:06 +01:00
Andreas Tolfsen ad8630684d Bug 1396831 - Align HTTP status codes with specification. r=jgraham
Some of the HTTP status codes have changed in the WebDriver specification,
as shown in:

	d678562e3d

MozReview-Commit-ID: 4DLkYDXckew

--HG--
extra : rebase_source : 37c595265ead9591a6618ca44000bfb0f401da75
2017-09-05 14:42:12 +01:00
Andreas Tolfsen 88efb4d67b Bug 1396831 - Improve readability of error_code and http_status. r=jgraham
No semantic changes.

MozReview-Commit-ID: F4TJI2i5bJo

--HG--
extra : rebase_source : 703abf5278a7cf46393f9b720cea6e0948a5c1dd
2017-09-05 14:39:32 +01:00
Andreas Tolfsen 3646b7ae00 Bug 1368265 - Add testing/webdriver hgignore file. r=automatedtester
MozReview-Commit-ID: A2JHz2Eqdv5

--HG--
extra : rebase_source : b6dc8a5eaad3410bb658671bab540f441a2e298c
2017-09-03 17:19:37 +01:00
Andreas Tolfsen f5e4748beb Bug 1368265 - Remove unnecessary license files. r=automatedtester
Since both these Rust programs are hosted in mozilla-central,
they are governed by the top-level LICENSE file.  See also
toolkit/content/license.html.

MozReview-Commit-ID: 4C0fEAeJZ6h

--HG--
extra : rebase_source : f8beebd578cd816d974cc9416c6bdb1bdfa37b12
2017-09-03 17:17:13 +01:00
Andreas Tolfsen 783b9e7701 Bug 1368265 - Provide a webdriver README. r=automatedtester
Documentation is the hallmark of a good software library and this isn't
great, but it is a step in the right direction.

MozReview-Commit-ID: IHDwp2pjXom

--HG--
extra : rebase_source : 9f5d488705cb97510ce051f1530002fffd302aaf
2017-09-03 17:15:03 +01:00
Andreas Tolfsen c722f88ac8 Bug 1368265 - Update geckodriver and webdriver Cargo.tomls. r=automatedtester
MozReview-Commit-ID: 6MsrxinrYEp

--HG--
extra : rebase_source : c0f5b076183c53c86aae0e757b6ef391f1eba8c1
2017-09-03 16:24:55 +01:00
Andreas Tolfsen 0305a12b3d webdriver: move crate to m-c
IGNORE BAD COMMIT MESSAGES
2017-09-03 15:56:42 +01:00
Henrik Skupin ace1170369 webdriver: Add "noProxy" support for manual proxy type (#121)
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 89df5f92278488697460b279eea0708e482c3813

committer: GitHub <noreply@github.com>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : c9cff2069fccc117f9bc3f95b1267b7f65c1670a
2017-08-30 21:02:55 +02:00
David Burns 5ff5b691d4 webdriver: Add Tag Name as a valid location strategy. (#118)
* Add Tag Name as a valid location strategy.

While creating WDSpec for Find Element and similar commands it showed
that we do not support Tag Name as a valid selector. Tests can be found
at https://reviewboard.mozilla.org/r/172110/

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 5cd49eb129f4ae1ae7e047f274cfa31092353d65

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

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : a2245a52d6ad17184dc8b105cd2082899707bdda
2017-08-24 14:22:02 +01:00
Andreas Tolfsen 4c3170d857 webdriver: cargo: release 0.30.0
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: bd7c82e977ddf0f2f90e9300fef70d0d2eb7ff33

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 6794f7ce256468a1c434134949c84222283c3d74
2017-08-18 13:27:38 +01:00
Henrik Skupin 6df788afcf webdriver: Add support for socksVersion (#115)
To add a socks proxy the socks version is a required capability.
This patch adds the handling of the capability.

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 94cdfcbb8e92bc070f144ad13bc1f074f0761eb5

committer: David Burns <david.burns@theautomatedtester.co.uk>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : d555f9bcb03b61434b83973ee5736ca771926183
2017-08-18 12:49:34 +01:00
Henrik Skupin dac7fbd059 webdriver: Make proxy port an optional suffix for all *Proxy capabilities (#115)
As given by the spec the proxy port is no longer a separate capability,
but an optional part of ftpProxy, httpProxy, sslProxy, and socksProxy.

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

committer: David Burns <david.burns@theautomatedtester.co.uk>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 11bda39133f9e0d2e67987b693fd44e0c249c23e
2017-08-18 12:49:34 +01:00
Henrik Skupin 6071140e1b webdriver: Fix invalid check for scheme in proxy host. (#114)
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 12e62a7956219ca4ebb3d6161e4ce9c853e82217

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

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : fffe353f879f73c03225355001d5547924fa73e8
2017-08-08 15:27:32 +01:00
Andreas Tolfsen 806c215eb8 webdriver: cargo: release 0.29.0
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 7d2bf526b6ed9c45e06b5b2abd395c996328d3ca

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 52dfc7e137ca51ba0e8d49286bbe2d09db7c2a41
2017-08-08 14:51:02 +01:00
Henrik Skupin 89de54cf9d webdriver: Add support to format values with {:?} (#111)
For debugging purposes it is helpful when enum and struct
definitions are using derive Debug.

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 989cfcb7ab23ab356b2bf77ff37a37ab1c7be89d

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

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 5d1bcd860f19a0275cc110d8e86d62788ce5319a
2017-08-08 11:14:55 +01:00
Andreas Tolfsen e9a9bb7bc1 webdriver: common, response: add window state to window rect response (#109)
The WebDriver specification recently introduced an additional "state"
field for the window rect.

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 2b54d3d8ad30f25b0df9b186661be15de4e280fb

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

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : bc62b14208282b2725e3c3ef476f840b16315418
2017-08-07 19:28:32 +01:00
Henrik Skupin 00d5bdfa84 webdriver: capabilities: use proxyType "direct" instead of "noproxy" (#107)
The WebDriver spec has been changed a while ago to support "direct"
as proxyType.  So "noproxy" is no longer a valid proxy type.

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

committer: Andreas Tolfsen <ato@sny.no>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : fd64dcba6fd8742cdac87d4d00aa42baa6b31b75
2017-08-03 17:47:22 +01:00
James Graham a84d0851ff webdriver: Update version number for release
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 2746c4f91f1c3582fe0ce5dea91f8971f8f20390

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 4029c44236409e9a4ceb4e3174aa2e7782e7168c
2017-07-18 16:42:19 +01:00
SimonP 5cf6ff6879 webdriver: Implement the minimize window for webdriver-rust (#105)
* Implement the minimize window for webdriver-rust

Symptom: Now webdriver-rust cannot minimize window
Root Cause: No minimize command
Solution: Add the minimize command
Project: webdriver-rust
Note: After add this patch
      Then add one in geckodriver
      Then add support in firefox(marionette)
      At last add patch in selenium(firefox webdriver)

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 37b661f0d103ecde3f4bb87962142d054812f767

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

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 282e0b54fb349de5df15c05a2fb530af18931ed8
2017-07-06 15:03:13 +01:00
Andreas Tolfsen 685509aaee webdriver: cargo: release 0.27.0
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 1b8863b569ef6efe5f20f7a084e5910f1280285f

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 1a9db5d4470a84c94269047f68b4df5ee9284857
2017-06-19 13:14:44 +01:00
Jon Gjengset dd5ce4bd02 webdriver: cargo: bump cookie dependency to 0.9 (#104)
Fixes: #103
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 107a60caf001239e69a14fed292f9177e3279e81

committer: Andreas Tolfsen <ato@sny.no>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 19bf1ffcae926e21f250c667a38234ed33c5f61b
2017-06-17 00:04:34 +01:00
Andreas Tolfsen d60414d0ca webdriver: response: add single cookie response type (#102)
* response: add single cookie response type

The WebDriver specification mandates that the GetNamedCookie command
should return a cookie serialisation object, and not an array of
cookies.

This patch introduces WebDriverResponse::Cookie and CookieResponse types
to allow WebDriver implementations to return single cookie objects.

Fixes: https://github.com/mozilla/geckodriver/issues/463
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 9b49e5a6ec370e0da09521bfedcc596427c93cd5

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

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 097a285a79103c45e6274b6d48a5e8892d1272ca
2017-06-16 17:10:59 +01:00
David Burns 0218060e28 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
2017-06-15 15:05:39 +01:00
James Graham 3dc0737cbb webdriver: Update version number for release
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 5fdecf11323c499950c3b9778d5595c9dbe82d09

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 0bc20d4f111ed42667b03dd3bebce8bfc668f04b
2017-06-07 12:58:10 +01:00
David Burns 287db9a9dd webdriver: Implement Fullscreen command support (#100)
* Implement Fullscreen command support

This adds the HTTP endpoint and command structures for supporting the
Fullscreen command as in
https://w3c.github.io/webdriver/webdriver-spec.html#fullscreen-window

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 7ce4ae6266c73547a50b974355e1ef5fa426924c

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

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : ce4f326dd0c9b52fda1bb8c553e6912d11034a1b
2017-06-07 12:37:58 +01:00
jgraham 353c4ddf26 webdriver: Don't return existing session id when the wrong one is supplied (#99)
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: dae3f0689a1d589d10225d558e0528fb232a3842

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 3e07d0db86bf8e61d28cc43ad77b9b4f3b74684f
2017-06-01 08:17:13 +01:00
Jason Juang 73d6e8dbb9 webdriver: Fix spelling of unhandledPromptBehavior (#97)
The W3C spec requires the American spelling.

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

committer: Andreas Tolfsen <ato@mozilla.com>

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 974924ce0fe8300e959b4482d62363a5f48dce94
2017-05-23 15:50:02 +01:00
Andreas Tolfsen b64fa895d7 webdriver: Make log output safe for windows prompt (#96)
* server: make log output safe for windows prompt

The characters "←" and "→" are obfuscated in the Windows command
prompt.  Use ASCII versions.

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 6de6e225e14b545381719e2e97398bc1a8f87b13

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

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 549018e98173ca5c72e4ecb32c7cf9c0cf363527
2017-05-08 14:45:19 +01:00
Jason Juang 7cedc56dd8 webdriver: Fix error messages for timeout params.
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: d568fd0d344c017a8ef9b116bc6db055a7684278

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

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 118c87f1de638284005278b375a0b17a48c835aa
2017-05-04 09:49:01 +01:00
Andreas Tolfsen 4be89870e8 webdriver: cargo: release v0.25.2
Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 6e19650591d50b8a657bf8f0f6ac1c7ef648473e

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 2c50381ad3826331902c31b572c599cbeb64cdf2
2017-04-20 14:00:37 +01:00
Andreas Tolfsen 68a2f19ade webdriver: command: improve error handling of decoding request body as json
This patch splits the decoding of the HTTP request body out to a
separate function, decode_body, on WebDriverMessage.  This is in
line with get_session_id, and reduces somewhat the complexity of
WebDriverMessage::from_http.

It also handles rustc_serialize::json::ParserErrors individually, by
making SyntaxError discernable from IoError.

The SyntaxError error handler re-uses the stacktrace produced by the
JSON parser when failing to decode the HTTP request body as JSON.
This improves the readability of the returned error.

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

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

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 90bf8178d66e2871bb00d2e4f9f230941c49e82c
2017-04-20 13:55:59 +01:00
Andreas Tolfsen 61d157315c webdriver: error: enable custom stacktraces in WebDriverError
With the new constructor WebDriverError::new_with_stack it is possible
for consumers to set their own stacktraces.

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 46761f45b0e0fe70ec78acf360c492b800c8a60a

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

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 05cf0f383c26314b4954e13bdfe5ae53a7985649
2017-04-20 13:55:59 +01:00
Andreas Tolfsen 53305fe9a1 webdriver: server: improve logging of http requests and responses
HTTP requests and responses will now be logged in a
similar style as Marionette chatter in geckodriver (following
https://github.com/mozilla/geckodriver/pull/636) and in the Marionette
server in Gecko, by employing arrows.

The logging of responses is reduced from two log entries, to one.
It also makes use of the fmt::Display trait of the status.

For requests, the HTTP method, URI, and full body is included.

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 7e2a2042fa80018c8bce8bddee81ab6985db65f8

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

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 5a35483899ddc0125fef02b221627fa0fc005085
2017-04-20 13:55:59 +01:00