~vono22/cookiekeeper/1.9.0

« back to all changes in this revision

Viewing changes to cookiekeeper/chrome/modules/cookiekeeper.jsm

  • Committer: Yvon Tanguy
  • Date: 2016-04-04 16:25:38 UTC
  • Revision ID: vono22@yahoo.fr-20160404162538-ybe3dxi215n6tbfw
Quality: Fix some ESLint warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
Components.utils.import("resource://gre/modules/Timer.jsm");
31
31
Components.utils.import("resource://gre/modules/Sqlite.jsm");
32
32
 
33
 
let self           = this;
34
 
let cookieManagers = [];
35
 
 
36
 
Services.scriptloader.loadSubScript("chrome://cookiekeeper/content/common.js",                 self);
37
 
Services.scriptloader.loadSubScript("chrome://cookiekeeper/content/ck.cookies.js",             self);
38
 
Services.scriptloader.loadSubScript("chrome://cookiekeeper/content/ck.dom_storage.js",         self);
39
 
Services.scriptloader.loadSubScript("chrome://cookiekeeper/content/ck.local_shared_object.js", self);
40
 
Services.scriptloader.loadSubScript("chrome://cookiekeeper/content/ck.private.js",             self);
 
33
 
 
34
var cookieManagers = [];
 
35
 
 
36
{
 
37
  let self = this;
 
38
  Services.scriptloader.loadSubScript("chrome://cookiekeeper/content/common.js",                 self);
 
39
  Services.scriptloader.loadSubScript("chrome://cookiekeeper/content/ck.cookies.js",             self);
 
40
  Services.scriptloader.loadSubScript("chrome://cookiekeeper/content/ck.dom_storage.js",         self);
 
41
  Services.scriptloader.loadSubScript("chrome://cookiekeeper/content/ck.local_shared_object.js", self);
 
42
  Services.scriptloader.loadSubScript("chrome://cookiekeeper/content/ck.private.js",             self);
 
43
}
41
44
 
42
45
/**
43
46
 * @brief Common/Public CookieKeeper function.
63
66
 ~~~~~~~~~~~~~
64
67
 */
65
68
 
66
 
let timerSaveId = null;
 
69
var timerSaveId = null;
67
70
 
68
71
function saveProtectedListTimer() {
69
72
  function timerCallback() {
130
133
    CookieKeeperPrivate.uninit();
131
134
 
132
135
    // Help the garbage collector:
133
 
    self                = null;
134
136
    CookieKeeperPrivate = null;
135
137
    gCookieStorage      = null;
136
138
    gDomStorage         = null;