rem:  bsp.value = "other";  this._pane.userChangedValue(otherURL); 
add: homePage.value = newVal; 
context:   setHomePageToCurrent: function ()  {    var win;    if (document.documentElement.instantApply) {      // If we're in instant-apply mode, use the most recent browser window      var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]                         .getService(Components.interfaces.nsIWindowMediator);      win = wm.getMostRecentWindow("navigator:browser");    }    else      win = window.opener;    if (win) {      var otherURL = document.getElementById("otherURL");      var bsp = document.getElementById("browserStartPage");      otherURL.value = win.document.getElementById("content").currentURI.spec;      // select the "other" radio      bsp.value = "other";      this._pane.userChangedValue(otherURL);    }  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/aac4ed2044d52f80cf9e597f86f7c37c747720c8/main.js/buggy/browser/components/preferences/main.js