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

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

Issue 1827743002: SameSite: Teach devtools about the new 'samesite' syntax. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback Created 4 years, 8 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 75815cc930c126213d275a415e11455fa89dcbfe..e6348cce1e3cf51ba8a9b90da46bde1eabdec6a9 100644
--- a/third_party/WebKit/LayoutTests/inspector/components/cookie-parser.html
+++ b/third_party/WebKit/LayoutTests/inspector/components/cookie-parser.html
@@ -61,7 +61,8 @@ 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; SameSite;");
+ InspectorTest.parseAndDumpSetCookie("cooke1 = value; HttpOnly; Secure; SameSite=Lax;");
+ InspectorTest.parseAndDumpSetCookie("cooke1 = value; HttpOnly; Secure; SameSite=Secure;");
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