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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/websocket/workers/resources/cookie-ws-to-ws.js

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/workers/resources/cookie-ws-to-ws.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/websocket/workers/resources/cookie-ws-to-ws.js b/third_party/WebKit/LayoutTests/http/tests/websocket/workers/resources/cookie-ws-to-ws.js
index 1039663ad4aa96de5ddd098398ece887b8e8baa6..050eac8ba8d08ae666dacf3ea09253c224cdffb6 100644
--- a/third_party/WebKit/LayoutTests/http/tests/websocket/workers/resources/cookie-ws-to-ws.js
+++ b/third_party/WebKit/LayoutTests/http/tests/websocket/workers/resources/cookie-ws-to-ws.js
@@ -48,8 +48,8 @@ function runTests()
.then(echoCookie)
.then(
function (cookie) {
- if (cookie != 'ws-domain-local-ip=1; ws-path-root=1; ws=1')
- return Promise.reject('Echoed cookie is incorrect');
+ if (cookie != 'ws-domain-local-ip=1; ws-path-root=1; ws=1; same-site-strict=1; same-site-lax=1')
+ return Promise.reject('Echoed cookie is incorrect: ' + cookie);
postMessage("DONE");
}
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/websocket/set-cookie_wsh.py ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698