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

Unified Diff: third_party/WebKit/LayoutTests/inspector/components/cookie-parser.html

Issue 1615773005: Rename first-party-only cookies to same-site cookies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tests. Created 4 years, 11 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/inspector/components/cookie-parser.html
diff --git a/third_party/WebKit/LayoutTests/inspector/components/cookie-parser.html b/third_party/WebKit/LayoutTests/inspector/components/cookie-parser.html
index 36d19d046ef8cd5ee36fee09a80f4ae34c9ea123..75815cc930c126213d275a415e11455fa89dcbfe 100644
--- a/third_party/WebKit/LayoutTests/inspector/components/cookie-parser.html
+++ b/third_party/WebKit/LayoutTests/inspector/components/cookie-parser.html
@@ -12,7 +12,7 @@ InspectorTest.dumpCookie = function(cookie)
var expires = cookie.expiresDate(requestDate);
var output = "name: " + cookie.name() + ", value: " + cookie.value() + ", httpOnly: " + cookie.httpOnly() +
- ", first-party-only: " + cookie.firstPartyOnly() + ", secure: " + cookie.secure() +
+ ", sameSite: " + cookie.sameSite() + ", secure: " + cookie.secure() +
", session: " + cookie.session() + ", path: " + cookie.path() +
", domain: " + cookie.domain() + ", port: " + cookie.port() +
", expires: " + (expires ? expires.getTime() : "n/a") +
@@ -61,7 +61,7 @@ var test = function()
InspectorTest.parseAndDumpSetCookie("cooke1 = value; Path=/; Domain= .example.com \nCookie2 = value2; Path = /foo; Domain = foo.example.com");
InspectorTest.parseAndDumpSetCookie("cooke1 = value; expires = Mon, Oct 18 2010 17:00 GMT+0000; Domain =.example.com\nCookie2 = value2; Path = /foo; DOMAIN = foo.example.com; HttpOnly; Secure; Discard;");
InspectorTest.parseAndDumpSetCookie("cooke1 = value; max-age= 1440; Domain =.example.com\n Cookie2 = value2; Path = /foo; DOMAIN = foo.example.com; HttpOnly; Secure; Discard;");
- InspectorTest.parseAndDumpSetCookie("cooke1 = value; HttpOnly; Secure; First-Party-Only;");
+ InspectorTest.parseAndDumpSetCookie("cooke1 = value; HttpOnly; Secure; SameSite;");
InspectorTest.parseAndDumpSetCookie("cooke1; Path=/; Domain=.example.com;");
InspectorTest.parseAndDumpSetCookie("cooke1=; Path=/; Domain=.example.com;");
InspectorTest.completeTest();

Powered by Google App Engine
This is Rietveld 408576698