Bug 1451838 - Fix double-mention of exit status. r?whimboo
The Display trait implementation for ExitStatus returns "exit code:
0", leading to a convoluted sentence such as "Browser process
stopped with exit status exit code: 0".
MozReview-Commit-ID: 2D1JsFIhF7d
--- a/testing/geckodriver/src/marionette.rs
+++ b/testing/geckodriver/src/marionette.rs
@@ -596,17 +596,17 @@ impl WebDriverHandler<GeckoExtensionRout
conn.close();
}
}
if let Some(ref mut runner) = self.browser {
// TODO(https://bugzil.la/1443922):
// Use toolkit.asyncshutdown.crash_timout pref
match runner.wait(time::Duration::from_secs(70)) {
- Ok(x) => debug!("Browser process stopped with exit status {}", x),
+ Ok(x) => debug!("Browser process stopped: {}", x),
Err(e) => error!("Failed to stop browser process: {}", e),
}
}
self.connection = Mutex::new(None);
self.browser = None;
}
}