Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SameSite attribute to Cookie #7859

Closed
wants to merge 6 commits into from
Closed

Add SameSite attribute to Cookie #7859

wants to merge 6 commits into from

Conversation

gjyalpha
Copy link

Description

Add SameSite attribute to Cookie

Motivation and Context

Cookie object in Selenium Java doesn't support setting SameSite
attribute, described in the spce:
https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-5.3.7

ChromeDriver already supports it. So improving Selenium Java API to
support it as well.

Partially fix #7798, i.e. the Java part. Other language bindings need to be checked to see if a fix is needed or not.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the contributing document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
    I believe all the doc needs to be updated is the javadoc for the new field. Please let me know if there is any other document I need to update.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Cookie object in Selenium Java doesn't support setting `SameSite`
attribute, described in the spce:
https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-5.3.7

ChromeDriver already supports it. So improving Selenium Java API to
support it as well.

Partially fix #7798
@claassistantio
Copy link

claassistantio commented Dec 10, 2019

CLA assistant check
All committers have signed the CLA.

@gjyalpha
Copy link
Author

Sorry that this is my first time sending Pull Request to Selenium. I kind of messed up the commit history. Let me clean this up and try again.

@gjyalpha gjyalpha closed this Dec 18, 2019
@gjyalpha gjyalpha deleted the add-cookie-samesite-attribute branch May 1, 2020 17:57
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.

Add SameSite attribute to Cookie
4 participants