Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/websocket/set-cookie_wsh.py

Issue 2102993002: Fix WebSocket to set first party for cookies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update testRunner calls to setBlockThirdPartyCookies() Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/websocket/set-cookie_wsh.py
diff --git a/third_party/WebKit/LayoutTests/http/tests/websocket/set-cookie_wsh.py b/third_party/WebKit/LayoutTests/http/tests/websocket/set-cookie_wsh.py
index 1c8bf055b1bd1fb5283525db04adea05ceaaa76b..15db410404dfdfe8b199bb29a72707c54ae1f123 100644
--- a/third_party/WebKit/LayoutTests/http/tests/websocket/set-cookie_wsh.py
+++ b/third_party/WebKit/LayoutTests/http/tests/websocket/set-cookie_wsh.py
@@ -41,6 +41,8 @@ def web_socket_do_extra_handshake(request):
'ws-path-root=1; Path=/' + max_age,
'ws-path-foobar=1; Path=/foo/bar' + max_age,
'ws=1' + max_age,
+ 'same-site-strict=1; SameSite=Strict' + max_age,
+ 'same-site-lax=1; SameSite=Lax' + max_age
]
for value in cookie_values:
request.extra_headers.append(('Set-Cookie', value))

Powered by Google App Engine
This is Rietveld 408576698