rem: if (mapiRegistry && ("mapiPref" in parent) && (mapiRegistry.isDefaultMailClient != parent.mapiPref.isDefaultMailClient)) { 
add:  if (mapiRegistry && ("mapiPref" in parent)) { if (mapiRegistry.isDefaultMailClient != parent.mapiPref.isDefaultMailClient) 
context: function onOK(){    try {        var mapiRegistry = Components.classes[ "@mozilla.org/mapiregistry;1" ].                   getService( Components.interfaces.nsIMapiRegistry );    }    catch(ex){        mapiRegistry = null;    }     if (mapiRegistry &&        ("mapiPref" in parent) &&         (mapiRegistry.isDefaultMailClient != parent.mapiPref.isDefaultMailClient)) {         mapiRegistry.isDefaultMailClient = parent.mapiPref.isDefaultMailClient ;    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6d302178547b4eea2bf4c5ffdaa3570a0933c847/pref-mailnewsOverlay.js/buggy/mailnews/mapi/resources/content/pref-mailnewsOverlay.js