geckodriver: Fix u64 type in cookie expiry error string (#464)
authorEric Garrido <eric@ericgar.com>
Fri, 10 Feb 2017 17:08:02 +0000
changeset 359648 fbdc630f0c2cf71de606bb3207e64892238e3f4c
parent 359647 4b789c46b2b7a80774db93f2d4e026d8420b91bc
child 359649 67cac4c87a592dad677ae0e067da9c9b9ca1f9ee
push id31854
push userarchaeopteryx@coole-files.de
push dateSat, 20 May 2017 16:46:00 +0000
treeherdermozilla-central@51736db67723 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
geckodriver: Fix u64 type in cookie expiry error string (#464) This is a trivial copy-and-paste error from a few lines above. Source-Repo: https://github.com/mozilla/geckodriver Source-Revision: 1144fee2461186e9f270e4f4135f166df2c58da1 committer: Andreas Tolfsen <ato@mozilla.com>
testing/geckodriver/src/marionette.rs
--- a/testing/geckodriver/src/marionette.rs
+++ b/testing/geckodriver/src/marionette.rs
@@ -719,17 +719,17 @@ impl MarionetteSession {
                                                      "Failed to interpret domain as String")).to_string())
                                     }));
             let expiry = try!(
                 Nullable::from_json(x.find("expiry").unwrap_or(&Json::Null),
                                     |x| {
                                         Ok(Date::new((try_opt!(
                                             x.as_u64(),
                                             ErrorStatus::UnknownError,
-                                            "Failed to interpret domain as String"))))
+                                            "Failed to interpret expiry as u64"))))
                                     }));
             let secure = try_opt!(
                 x.find("secure").map_or(Some(false), |x| x.as_boolean()),
                 ErrorStatus::UnknownError,
                 "Failed to interpret secure as boolean");
             let http_only = try_opt!(
                 x.find("httpOnly").map_or(Some(false), |x| x.as_boolean()),
                 ErrorStatus::UnknownError,