From e4abc811b9256af2f154876a83a58bd84562c897 Mon Sep 17 00:00:00 2001 From: Andreas Tolfsen Date: Thu, 26 Jan 2017 17:00:42 +0000 Subject: [PATCH] webdriver_server: rename acceptSslCerts to acceptInsecureCerts The WebDriver standard never defined acceptSslCerts, but it was used by legacy Selenium implementations. The standard does however define a slightly more negative-sounding capability called acceptInsecureCerts, which to greater extent warns users about what its consequences are. --- components/webdriver_server/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/webdriver_server/lib.rs b/components/webdriver_server/lib.rs index 79cf1e668a9..56e52e53954 100644 --- a/components/webdriver_server/lib.rs +++ b/components/webdriver_server/lib.rs @@ -303,7 +303,7 @@ impl Handler { let mut capabilities = BTreeMap::new(); capabilities.insert("browserName".to_owned(), "servo".to_json()); capabilities.insert("browserVersion".to_owned(), "0.0.1".to_json()); - capabilities.insert("acceptSslCerts".to_owned(), false.to_json()); + capabilities.insert("acceptInsecureCerts".to_owned(), false.to_json()); let rv = Ok(WebDriverResponse::NewSession( NewSessionResponse::new( session.id.to_string(),