mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 643633 - Remove TTLs from form history records. r=markh,nalexander
This commit is contained in:
parent
db3aaf2c33
commit
02404d5c47
@ -22,7 +22,7 @@ public class FormHistoryRecord extends Record {
|
||||
public static final String COLLECTION_NAME = "forms";
|
||||
private static final String PAYLOAD_NAME = "name";
|
||||
private static final String PAYLOAD_VALUE = "value";
|
||||
public static final long FORMS_TTL = 60 * 24 * 60 * 60; // 60 days in seconds.
|
||||
public static final long FORMS_TTL = 3 * 365 * 24 * 60 * 60; // Three years in seconds.
|
||||
|
||||
/**
|
||||
* The name of the saved form field.
|
||||
|
@ -16,7 +16,7 @@ Cu.import("resource://services-sync/util.js");
|
||||
Cu.import("resource://services-sync/constants.js");
|
||||
Cu.import("resource://gre/modules/Log.jsm");
|
||||
|
||||
const FORMS_TTL = 5184000; // 60 days
|
||||
const FORMS_TTL = 3 * 365 * 24 * 60 * 60; // Three years in seconds.
|
||||
|
||||
this.FormRec = function FormRec(collection, id) {
|
||||
CryptoWrapper.call(this, collection, id);
|
||||
|
Loading…
Reference in New Issue
Block a user