aboutsummaryrefslogtreecommitdiffstats
path: root/lib/cookiemanager.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cookiemanager.js')
-rw-r--r--lib/cookiemanager.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/cookiemanager.js b/lib/cookiemanager.js
index 047b988..087d6ab 100644
--- a/lib/cookiemanager.js
+++ b/lib/cookiemanager.js
@@ -35,6 +35,7 @@
* ***** END LICENSE BLOCK ***** */
exports.getHostCookies = function getHostCookies(host) {
+ var {Cc, Ci} = require("chrome");
var cm = Cc["@mozilla.org/cookiemanager;1"].
getService(Ci.nsICookieManager2);
var e = cm.getCookiesFromHost(host);