rem: function loadPermissions(){ cookie_mode = 1; top.frames[index_frame].document.open(); top.frames[index_frame].document.write( "<body bgcolor='#c0c0c0'>" + "<table border='0' width='100%'>" + "<tr>" + "<td align='center' valign='middle' bgcolor='#c0c0c0'>" + "<a onclick='top.loadCookies();' href=''>" + "<font size='2'>" + cookiesTab + "</font>" + "</a>" + "</td>" + "<td align='center' valign='middle' bgcolor='#ffffff'>" + "<font size='2' color='#666666'>" + "<b>" + permissionsTab + "</b>" + "</font>" + "</td>" + "<td>&nbsp;&nbsp;&nbsp;</td>" + "</tr>" + "</table>" + "</body>" ); top.frames[index_frame].document.close();  top.frames[title_frame].document.open(); top.frames[title_frame].document.write ("&nbsp;" + permissionsStored + ""); top.frames[title_frame].document.close();  top.frames[prop_frame].document.open(); top.frames[prop_frame].document.close();  loadPermissionsList(); } 
add: function loadPermissions() {  list            = cookieviewer.GetPermissionValue(); BREAK           = list[0]; permissionList  = list.split(BREAK); CreatePermissionList(); for(i = 0; i < permissions.length; i++) { var domain = permissions[i].domain; if(domain.charAt(0) == ".") domain = domain.substring(1,domain.length); if(permissions[i].type == "+") contentStr = bundle.GetStringFromName("can"); else if(permissions[i].type == "-") contentStr = bundle.GetStringFromName("cannot"); AddItem("permissionslist",[domain,contentStr],"permtree_",permissions[i].number) } } 
context:     function loadPermissions(){      cookie_mode = 1;      top.frames[index_frame].document.open();      top.frames[index_frame].document.write(        "<body bgcolor='#c0c0c0'>" +          "<table border='0' width='100%'>" +            "<tr>" +              "<td align='center' valign='middle' bgcolor='#c0c0c0'>" +                "<a onclick='top.loadCookies();' href=''>" +                  "<font size='2'>" + cookiesTab + "</font>" +                "</a>" +              "</td>" +              "<td align='center' valign='middle' bgcolor='#ffffff'>" +                "<font size='2' color='#666666'>" +                  "<b>" + permissionsTab + "</b>" +                "</font>" +              "</td>" +              "<td>&nbsp;&nbsp;&nbsp;</td>" +            "</tr>" +          "</table>" +        "</body>"      );      top.frames[index_frame].document.close();      top.frames[title_frame].document.open();      top.frames[title_frame].document.write        ("&nbsp;" + permissionsStored + "");      top.frames[title_frame].document.close();      top.frames[prop_frame].document.open();      top.frames[prop_frame].document.close();      loadPermissionsList();    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f3c248ff76049b4ee51d37dec8914ae33eb9c9dc/CookieViewer.js/buggy/extensions/wallet/cookieviewer/CookieViewer.js