зеркало из https://github.com/mozilla/gecko-dev.git
whitespace police
This commit is contained in:
Родитель
e9df121cfb
Коммит
1e832d7175
|
@ -867,7 +867,7 @@ CookieStore.prototype = {
|
|||
// Re-add the new updated cookie:
|
||||
if ( command.data.expiry ) {
|
||||
/* ignore single-session cookies, add only persistent
|
||||
cookies.
|
||||
cookies.
|
||||
TODO: throw out cookies with expiration dates in the past?*/
|
||||
this._cookieManager.add( matchingCookie.host,
|
||||
matchingCookie.path,
|
||||
|
@ -897,12 +897,12 @@ CookieStore.prototype = {
|
|||
// host:path:name
|
||||
if ( !cookie.expiry ) {
|
||||
/* Skip cookies that do not have an expiration date.
|
||||
(Persistent cookies have one, session-only cookies don't.)
|
||||
(Persistent cookies have one, session-only cookies don't.)
|
||||
TODO: Throw out any cookies that have expiration dates in the
|
||||
past?*/
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
let key = cookie.host + ":" + cookie.path + ":" + cookie.name;
|
||||
items[ key ] = { parentGUID: '',
|
||||
name: cookie.name,
|
||||
|
|
Загрузка…
Ссылка в новой задаче