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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/HAREntry.js

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/Source/devtools/front_end/sdk/HAREntry.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/HAREntry.js b/third_party/WebKit/Source/devtools/front_end/sdk/HAREntry.js
index ec7d526f14b70bc55d48c73486b99a21d26f47cd..5219b8998c90b404a472dee6a66a5605ca3ac4a9 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/HAREntry.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/HAREntry.js
@@ -220,7 +220,7 @@ WebInspector.HAREntry.prototype = {
*/
_buildCookie: function(cookie)
{
- return {
+ var c = {
name: cookie.name(),
value: cookie.value(),
path: cookie.path(),
@@ -229,6 +229,9 @@ WebInspector.HAREntry.prototype = {
httpOnly: cookie.httpOnly(),
secure: cookie.secure()
};
+ if (cookie.sameSite())
+ c.sameSite = cookie.sameSite();
+ return c;
},
/**
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js ('k') | third_party/WebKit/Source/devtools/protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698