rollback last commit (1843a139184a), it causes cookie unit test to fail

This commit is contained in:
Dan Mills 2008-07-16 21:11:18 -07:00
parent 76d45e6917
commit 112006ce5f

View File

@ -202,7 +202,7 @@ CookieStore.prototype = {
var matchingCookie = null;
while (iter.hasMoreElements()){
let cookie = iter.getNext();
if (cookie.QueryInterface( Ci.nsICookie2 ) ){
if (cookie.QueryInterface( Ci.nsICookie ) ){
// see if host:path:name of cookie matches GUID given in command
let key = cookie.host + ":" + cookie.path + ":" + cookie.name;
if (key == command.GUID) {
@ -247,7 +247,7 @@ CookieStore.prototype = {
var iter = this._cookieManager.enumerator;
while (iter.hasMoreElements()) {
var cookie = iter.getNext();
if (cookie.QueryInterface( Ci.nsICookie2 )) {
if (cookie.QueryInterface( Ci.nsICookie )) {
// String used to identify cookies is
// host:path:name
if ( cookie.isSession ) {