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
Родитель 1881fb20f5
Коммит 3b80869547
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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 ) {