rem: /* restore the list of menuItem values */ 
add: /* restore the list of menuItem labels */ 
context:       onpageload:         function(aPageTag) {          if ('Startup' in window.frames[ this.contentFrame ]) {            window.frames[ this.contentFrame ].Startup();          }          /* restore the list of menuItem values */          var elementIDs = window.frames[this.contentFrame]._elementIDs;          for(var i = 0; i < elementIDs.length; i++) {            var menuList = window.frames[this.contentFrame].document.getElementById(elementIDs[i]);            if (!menuList) {              dump("*** FIX ME: '_elementIDs' in '" + aPageTag +                   "' contains a reference to a non-existent element ID '" +                    elementIDs[i] + "'.\n");              return;            }            var menuPopup = menuList.firstChild;            if ((aPageTag+elementIDs[i]) in schemaToValue) {              /* following unhiding is needed for concatenations only */              var row = menuList.parentNode;              var rows = row.parentNode;              var grid = rows.parentNode;              var titledBox = grid.parentNode;              titledBox.setAttribute("hidden", "false");              row.setAttribute("hidden", "false");              var strings = schemaToValue[aPageTag+elementIDs[i]].split(BREAK);              for (var j = 0; j<strings.length-1; j++) {                var menuItem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menuitem");                if (menuItem) {                  menuItem.setAttribute("value", strings[j]);                  menuItem.setAttribute("len", strings[j].length);                  menuPopup.insertBefore(menuItem, menuPopup.lastChild);                }              }            };            menuList.selectedItem = menuPopup.firstChild; // ????? is this temporary ?????          }        },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0b2dd2b2d2fd037df917e07645fa019a963332a5/WalletViewer.js/clean/extensions/wallet/editor/resources/content/WalletViewer.js