rem: if (!nonprefs || !savprefs) return; 
add: if (!liveprefs || !savprefs) return; 
context: function torbutton_save_nontor_settings(){  var nonprefs = false;  var savprefs = false;  nonprefs = torbutton_get_prefbranch('network.proxy.');  savprefs = torbutton_get_prefbranch('extensions.torbutton.saved.');  if (!nonprefs || !savprefs) return;  savprefs.setIntPref('type',          nonprefs.getIntPref('type'));  savprefs.setCharPref('http_proxy',   nonprefs.getCharPref('http'));  savprefs.setIntPref('http_port',     nonprefs.getIntPref('http_port'));  savprefs.setCharPref('https_proxy',  nonprefs.getCharPref('ssl'));  savprefs.setIntPref('https_port',    nonprefs.getIntPref('ssl_port'));  savprefs.setCharPref('ftp_proxy',    nonprefs.getCharPref('ftp'));  savprefs.setIntPref('ftp_port',      nonprefs.getIntPref('ftp_port'));  savprefs.setCharPref('gopher_proxy', nonprefs.getCharPref('gopher'));  savprefs.setIntPref('gopher_port',   nonprefs.getIntPref('gopher_port'));  savprefs.setCharPref('socks_host',   nonprefs.getCharPref('socks'));  savprefs.setIntPref('socks_port',    nonprefs.getIntPref('socks_port'));  savprefs.setIntPref('socks_version', nonprefs.getIntPref('socks_version'));  try { // ff-0.9 doesn't have share_proxy_settings    savprefs.setBoolPref('share_proxy_settings', nonprefs.getBoolPref('share_proxy_settings'));  } catch(e) {}  if (torbutton_check_socks_remote_dns())    savprefs.setBoolPref('socks_remote_dns',     nonprefs.getBoolPref('socks_remote_dns'));}
meta: 3444	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3444/8814fc4fb8d2f623f6ab8c0afc06b73742ad759b/torbutton.js/buggy/src/chrome/content/torbutton.js