mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Updated the comment in CookieStore.editCommand.
This commit is contained in:
parent
0640b8474c
commit
f6dd9c5d7f
@ -783,12 +783,12 @@ CookieStore.prototype = {
|
||||
this._log.info("CookieStore got createCommand: " + command );
|
||||
// this assumes command.data fits the nsICookie2 interface
|
||||
this._cookieManager.add( command.data.host,
|
||||
command.data.path,
|
||||
command.data.name,
|
||||
command.data.value,
|
||||
command.data.isSecure,
|
||||
command.data.isSession,
|
||||
command.data.expiry );
|
||||
command.data.path,
|
||||
command.data.name,
|
||||
command.data.value,
|
||||
command.data.isSecure,
|
||||
command.data.isSession,
|
||||
command.data.expiry );
|
||||
},
|
||||
|
||||
_removeCommand: function CookieStore__removeCommand(command) {
|
||||
@ -813,10 +813,14 @@ CookieStore.prototype = {
|
||||
// we got a command to change a cookie in the local browser
|
||||
// in order to sync with the server.
|
||||
|
||||
// TODO implement this!! The behavior should be that if the
|
||||
// The behavior should be that if the
|
||||
// local copy of the cookie is more-recently modified, it should
|
||||
// be kept, but if it's older, it should be replaced with the
|
||||
// server's copy.
|
||||
|
||||
// The nsICookie interface doesn't seem to include the date/time
|
||||
// that the cookie was set -- only the expiry. TODO: Figure out
|
||||
// the best way to deal with this.
|
||||
this._log.info("CookieStore got editCommand: " + command );
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user