rem: var sysconfig; try { sysconfig = new Sysconfig(); } catch (ex) {} var platItems = $('qa-setup-platform').menupopup.childNodes; for (var i=0; i<platItems.length; i++) { if (sysconfig.platform && platItems[i].label == sysconfig.platform) $('qa-setup-platform').selectedIndex = i; } var opsysItems = $('qa-setup-opsys').menupopup.childNodes; for (var i=0; i<opsysItems.length; i++) { if (sysconfig.opsys && opsysItems[i].label == sysconfig.opsys) $('qa-setup-opsys').selectedIndex = i; } $('qa-setup-sysconfig-loading').value = ''; }; 
add: var sysconfig; try { sysconfig = new Sysconfig(); } catch (ex) {} var platItems = $('qa-setup-platform').menupopup.childNodes; for (var i=0; i<platItems.length; i++) { if (sysconfig.platform && platItems[i].label == sysconfig.platform) $('qa-setup-platform').selectedIndex = i; } var opsysItems = $('qa-setup-opsys').menupopup.childNodes; for (var i=0; i<opsysItems.length; i++) { if (sysconfig.opsys && opsysItems[i].label == sysconfig.opsys) $('qa-setup-opsys').selectedIndex = i; } $('qa-setup-sysconfig-loading').value = ''; }; 
context: 		var guessInfo = function() {			var sysconfig;			try {				sysconfig = new Sysconfig();			} catch (ex) {}			var platItems = $('qa-setup-platform').menupopup.childNodes;			for (var i=0; i<platItems.length; i++) {				if (sysconfig.platform && platItems[i].label == sysconfig.platform)					$('qa-setup-platform').selectedIndex = i;			}			var opsysItems = $('qa-setup-opsys').menupopup.childNodes;			for (var i=0; i<opsysItems.length; i++) {				if (sysconfig.opsys && opsysItems[i].label == sysconfig.opsys)					$('qa-setup-opsys').selectedIndex = i;			}			$('qa-setup-sysconfig-loading').value = '';		};
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/a3a9a2c311afc9d76e4e6bfc036e5897fa988bc1/settings.js/clean/testing/extensions/community/chrome/content/settings.js