mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 468700 - Having "Ask me Everytime" enabled for Cookies during Private Browsing is unusable (test fix); r,sr=bzbarsky
This commit is contained in:
parent
c535b939bd
commit
ef65000d8e
@ -8,7 +8,10 @@ function run_test() {
|
||||
var cm = Cc["@mozilla.org/cookiemanager;1"].getService(Ci.nsICookieManager2);
|
||||
var ios = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService);
|
||||
var prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch);
|
||||
var pb = Cc["@mozilla.org/privatebrowsing;1"].getService(Ci.nsIPrivateBrowsingService);
|
||||
var pb = null;
|
||||
try {
|
||||
pb = Cc["@mozilla.org/privatebrowsing;1"].getService(Ci.nsIPrivateBrowsingService);
|
||||
} catch (e) {}
|
||||
|
||||
var spec = "http://foo.bar/baz";
|
||||
var uri = ios.newURI(spec, null, null);
|
||||
|
Loading…
Reference in New Issue
Block a user