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

Unified Diff: LayoutTests/inspector/cookie-parser.html

Issue 1019253002: Support 'First-Party-Only' cookies in devtools. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/inspector/cookie-parser-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/cookie-parser.html
diff --git a/LayoutTests/inspector/cookie-parser.html b/LayoutTests/inspector/cookie-parser.html
index 8dd2ed76f22739ea6373776c42ee62fde0b2fcba..b6f57282124749b62ce8149587dbadd5dd775d54 100644
--- a/LayoutTests/inspector/cookie-parser.html
+++ b/LayoutTests/inspector/cookie-parser.html
@@ -12,7 +12,8 @@ InspectorTest.dumpCookie = function(cookie)
var expires = cookie.expiresDate(requestDate);
var output = "name: " + cookie.name() + ", value: " + cookie.value() + ", httpOnly: " + cookie.httpOnly() +
- ", secure: " + cookie.secure() + ", session: " + cookie.session() + ", path: " + cookie.path() +
+ ", first-party-only: " + cookie.firstPartyOnly() + ", secure: " + cookie.secure() +
+ ", session: " + cookie.session() + ", path: " + cookie.path() +
", domain: " + cookie.domain() + ", port: " + cookie.port() +
", expires: " + (expires ? expires.getTime() : "n/a") +
", size: " + cookie.size();
@@ -60,6 +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; Path=/; Domain=.example.com;");
InspectorTest.parseAndDumpSetCookie("cooke1=; Path=/; Domain=.example.com;");
InspectorTest.completeTest();
« no previous file with comments | « no previous file | LayoutTests/inspector/cookie-parser-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698