rem: cookieViewer.AddPermission(window.content, true, COOKIEPERMISSION); 
add: cookieViewer.AddPermission(window._content, true, COOKIEPERMISSION); 
context: function WalletAction( action ) {  if (action == "password" || action == "expire" || action == "clear") {    wallet = Components.classes['component://netscape/wallet/wallet-service'];    wallet = wallet.getService();    wallet = wallet.QueryInterface(Components.interfaces.nsIWalletService);    if (action == "password") {      wallet.WALLET_ChangePassword();    } else if (action == "expire") {      wallet.WALLET_ExpirePassword();    } else if (action == "clear") {      wallet.WALLET_DeleteAll();    }    return;  }  if (action == "encrypt" || action == "obscure") {    if (action == "encrypt") {      this.pref.SetBoolPref("wallet.crypto", true);    } else if (action == "obscure") {      this.pref.SetBoolPref("wallet.crypto", false);    }    return;  }  if (action == "cookieAllow" || action == "cookieBlock" ||      action == "imageAllow" || action == "imageBlock") {    var cookieViewer =      Components.classes["component://netscape/cookieviewer/cookieviewer-world"]        .createInstance(Components.interfaces["nsICookieViewer"]);    COOKIEPERMISSION = 0;    IMAGEPERMISSION = 1;    var element;    if (action == "cookieAllow") {      cookieViewer.AddPermission(window.content, true, COOKIEPERMISSION);      element = document.getElementById("AllowCookies");      alert(element.getAttribute("msg"));    } else if (action == "cookieBlock") {      cookieViewer.AddPermission(window.content, false, COOKIEPERMISSION);      element = document.getElementById("BlockCookies");      alert(element.getAttribute("msg"));    } else if (action == "imageAllow") {      cookieViewer.AddPermission(window.content, true, IMAGEPERMISSION);      element = document.getElementById("AllowImages");      alert(element.getAttribute("msg"));    } else if (action == "imageBlock") {      cookieViewer.AddPermission(window.content, false, IMAGEPERMISSION);      element = document.getElementById("BlockImages");      alert(element.getAttribute("msg"));    }    return;  }  if( appCore ) {    switch( action ) {      case "safefill":        appCore.walletPreview(window, window.content);        break;//    case "password"://      appCore.walletChangePassword();//      break;      case "quickfill":         appCore.walletQuickFillin(window.content);        break;      case "capture":      default:        appCore.walletRequestToCapture(window.content);        break;    }  }}  
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/dbca8886472e8bebc4390822e4521ae44d56117b/tasksOverlay.js/clean/suite/common/tasksOverlay.js