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

Side by Side 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: test Created 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 */ 214 */
215 _buildCookie: function(cookie) 215 _buildCookie: function(cookie)
216 { 216 {
217 return { 217 return {
218 name: cookie.name(), 218 name: cookie.name(),
219 value: cookie.value(), 219 value: cookie.value(),
220 path: cookie.path(), 220 path: cookie.path(),
221 domain: cookie.domain(), 221 domain: cookie.domain(),
222 expires: cookie.expiresDate(WebInspector.HARLog.pseudoWallTime(this. _request, this._request.startTime)), 222 expires: cookie.expiresDate(WebInspector.HARLog.pseudoWallTime(this. _request, this._request.startTime)),
223 httpOnly: cookie.httpOnly(), 223 httpOnly: cookie.httpOnly(),
224 sameSite: cookie.sameSite(),
224 secure: cookie.secure() 225 secure: cookie.secure()
225 }; 226 };
226 }, 227 },
227 228
228 /** 229 /**
229 * @return {number} 230 * @return {number}
230 */ 231 */
231 get requestBodySize() 232 get requestBodySize()
232 { 233 {
233 return !this._request.requestFormData ? 0 : this._request.requestFormDat a.length; 234 return !this._request.requestFormData ? 0 : this._request.requestFormDat a.length;
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 * @return {number} 362 * @return {number}
362 */ 363 */
363 _pageEventTime: function(page, time) 364 _pageEventTime: function(page, time)
364 { 365 {
365 var startTime = page.startTime; 366 var startTime = page.startTime;
366 if (time === -1 || startTime === -1) 367 if (time === -1 || startTime === -1)
367 return -1; 368 return -1;
368 return WebInspector.HAREntry._toMilliseconds(time - startTime); 369 return WebInspector.HAREntry._toMilliseconds(time - startTime);
369 } 370 }
370 } 371 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698