diff --git a/toolkit/components/social/WorkerAPI.jsm b/toolkit/components/social/WorkerAPI.jsm index c09d9e4712fd..5d443e6260a0 100644 --- a/toolkit/components/social/WorkerAPI.jsm +++ b/toolkit/components/social/WorkerAPI.jsm @@ -69,7 +69,7 @@ WorkerAPI.prototype = { cookies.forEach(function(aCookie) { let [name, value] = aCookie.split("="); results.push({name: unescape(name.trim()), - value: unescape(value.trim())}); + value: value ? unescape(value.trim()) : ""}); }); this._port.postMessage({topic: "social.cookies-get-response", data: results});