Closed
Bug 1020922
Opened 10 years ago
Closed 10 years ago
nsICookieManager2 can't access cookies when "Never remember history" selected in Privacy settings
Categories
(Firefox :: Private Browsing, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 823941
People
(Reporter: random, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release)
Build ID: 20140506152807
Steps to reproduce:
Components.utils.import("resource://gre/modules/Services.jsm");
_cookieService = Services.cookies;
var hostCookies = _cookieService.getCookiesFromHost(this.config.url.domain);
while (hostCookies.hasMoreElements()) {
var currentCookie = hostCookies.getNext().QueryInterface(Components.interfaces.nsICookie);
cookies[currentCookie.name] = currentCookie.value;
}
Actual results:
Variable cookies is empty object even if cookies exists for the site.
Expected results:
Variable cookies not empty object filled with cookies for site.
Component: Untriaged → Private Browsing
OS: Windows 7 → Windows XP
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•