Skip to content

[java] change chromium service names from whitelisted to allowed#11409

Merged
diemol merged 3 commits intoSeleniumHQ:trunkfrom
titusfortner:allow_lists
Dec 12, 2022
Merged

[java] change chromium service names from whitelisted to allowed#11409
diemol merged 3 commits intoSeleniumHQ:trunkfrom
titusfortner:allow_lists

Conversation

@titusfortner
Copy link
Copy Markdown
Member

In Chrome v87 Google changed the name of the parameter in the documentation from whitelisted-ips to allowed-ips, but both are still supported under the hood.

EdgeDriverService was already using "allowed" naming convention. This PR changes the ChromeDriverService implementation to match it. The two questions I have:

  1. Do we want to change what we're sending to the driver if it means that it won't be recognized by this Chrome < v87?
  2. How do you communicate the name change of a System property? Marking the public constant as deprecated, doesn't seem very useful. Do we want to raise a warning?

@titusfortner titusfortner requested a review from diemol December 10, 2022 20:22
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Base: 54.54% // Head: 54.54% // No change to project coverage 👍

Coverage data is based on head (93e4a12) compared to base (3e146d0).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##            trunk   #11409   +/-   ##
=======================================
  Coverage   54.54%   54.54%           
=======================================
  Files          85       85           
  Lines        5627     5627           
  Branches      243      243           
=======================================
  Hits         3069     3069           
  Misses       2315     2315           
  Partials      243      243           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Copy Markdown
Member

@diemol diemol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @titusfortner!

@diemol diemol merged commit 4a30da6 into SeleniumHQ:trunk Dec 12, 2022
@sonarqubecloud
Copy link
Copy Markdown

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell C 3 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants