Bug 217222

Summary: WebDriver: add support for same site cookies
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebDriverAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: aperez, bburg, clopez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 166679    
Attachments:
Description Flags
Patch bburg: review+

Description Carlos Garcia Campos 2020-10-02 06:04:35 PDT
We are currently ignoring the same site policy for cookies in WebDriver.
Comment 1 Carlos Garcia Campos 2020-10-02 06:10:17 PDT
Created attachment 410318 [details]
Patch

There are still 3 same site cokies tests failing, but because they need the htps serer running and we don't start it for WebDriver tests.
Comment 2 BJ Burg 2020-10-02 09:56:59 PDT
Comment on attachment 410318 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=410318&action=review

r=me, thanks Carlos! I'll look at hooking this up for safaridriver too.

> Source/WebKit/ChangeLog:8
> +        * UIProcess/Automation/Automation.json: Add CokieSameSitePolicy enum and sameSite member to Cookie object.

Nit: CookieSameSitePolicy
Comment 3 Carlos Garcia Campos 2020-10-02 23:28:20 PDT
Committed r267919: <https://trac.webkit.org/changeset/267919>
Comment 4 Radar WebKit Bug Importer 2020-10-02 23:29:17 PDT
<rdar://problem/69908887>