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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/websocket/cookie-ws-to-ws.html

Issue 2102993002: Fix WebSocket to set first party for cookies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: a 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/cookie-ws-to-ws.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/websocket/cookie-ws-to-ws.html b/third_party/WebKit/LayoutTests/http/tests/websocket/cookie-ws-to-ws.html
index 2e00682e06157c7e059f84567df32aaf61979a1f..4581873d1ce5b26497782eae6660d6a6d11d54e9 100644
--- a/third_party/WebKit/LayoutTests/http/tests/websocket/cookie-ws-to-ws.html
+++ b/third_party/WebKit/LayoutTests/http/tests/websocket/cookie-ws-to-ws.html
@@ -22,7 +22,7 @@ ws_set_cookie.onopen = function () {
ws_set_cookie.onclose = function (e) {
connectAndGetRequestHeader('cookie').then(function(value) {
cookie = normalizeCookie(value);
- shouldBeEqualToString('cookie', 'WK-WebSocket-test-domain-pass=1; WK-WebSocket-test-path-pass=1; WK-WebSocket-test=1');
+ shouldBeEqualToString('cookie', 'WK-WebSocket-test-domain-pass=1; WK-WebSocket-test-path-pass=1; WK-WebSocket-test=1; same-site-lax=1; same-site-strict=1');
clear();
}, finishAsFailed);
};

Powered by Google App Engine
This is Rietveld 408576698