rem: var newPrefValue = document.getElementById("startupPage").value; 
add: var newPrefValue;     try { newPrefValue = gData.navigatorData["startupPage"].value; } catch(ex) { gData = parent.hPrefWindow.wsm.dataManager .pageData["chrome: newPrefValue = gData.navigatorData["startupPage"].value; }  
context: function doOnOk(){  var newPrefValue = document.getElementById("startupPage").value;  if (gData.navigatorData["startupPage"].changed) {    // if our home page isn't the last page visited anymore,    // set the last_page_visited to "" for privacy reasons.    if (gData.navigatorData["startupPage"].originalValue == 2) {      parent.hPrefWindow.setPref("string", "browser.history.last_page_visited", "");    }    else if (newPrefValue == 2) {      parent.hPrefWindow.setPref("string", "browser.history.last_page_visited", getCurrentPage());    }  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/5b90aa0dd082d12c9b009952f0296204d3d1dfac/pref-navigator.js/buggy/suite/common/pref/pref-navigator.js