mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
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.
This commit is contained in:
parent
8653ef77c2
commit
e4abc811b9
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ impl Handler {
|
||||||
let mut capabilities = BTreeMap::new();
|
let mut capabilities = BTreeMap::new();
|
||||||
capabilities.insert("browserName".to_owned(), "servo".to_json());
|
capabilities.insert("browserName".to_owned(), "servo".to_json());
|
||||||
capabilities.insert("browserVersion".to_owned(), "0.0.1".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(
|
let rv = Ok(WebDriverResponse::NewSession(
|
||||||
NewSessionResponse::new(
|
NewSessionResponse::new(
|
||||||
session.id.to_string(),
|
session.id.to_string(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue