Updated the comment in CookieStore.editCommand.

This commit is contained in:
jono@jono-gibbon-laptop 2008-04-01 19:16:27 -07:00
parent 0640b8474c
commit f6dd9c5d7f

View File

@ -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 );
},