add: } 
context: function ensureDefaultEnginePrefs(aRDF,aDS)    {    var prefbranch = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);    var defaultName = prefbranch.getComplexValue("browser.search.defaultenginename" , Components.interfaces.nsIPrefLocalizedString).data;    var kNC_Root = aRDF.GetResource("NC:SearchEngineRoot");    var kNC_child = aRDF.GetResource("http://home.netscape.com/NC-rdf#child");    var kNC_Name = aRDF.GetResource("http://home.netscape.com/NC-rdf#Name");              var arcs = aDS.GetTargets(kNC_Root, kNC_child, true);    while (arcs.hasMoreElements()) {        var engineRes = arcs.getNext().QueryInterface(Components.interfaces.nsIRDFResource);        var name = readRDFString(aDS, engineRes, kNC_Name);        if (name == defaultName)		   prefbranch.setCharPref("browser.search.defaultengine", engineRes.Value);    }  }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/2791e6043e8cb2421f806496b7f5917d88acd7a8/search-panel.js/buggy/suite/common/search/search-panel.js