rem: try { Components.classes["@mozilla.org/winhooks;1"] .getService(Components.interfaces.nsIWindowsHooks) .checkSettings(window); } catch(e) { 
add: const NS_WINHOOKS_CONTRACTID = "@mozilla.org/winhooks;1"; if (NS_WINHOOKS_CONTRACTID in Components.classes) { try { Components.classes[NS_WINHOOKS_CONTRACTID] .getService(Components.interfaces.nsIWindowsHooks) .checkSettings(window); } catch(e) { } 
context: function checkForDefaultBrowser(){  try {    Components.classes["@mozilla.org/winhooks;1"]              .getService(Components.interfaces.nsIWindowsHooks)              .checkSettings(window);  } catch(e) {  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e5ffdea523dd5c7d63e802f10255a67226f8c2d9/navigator.js/buggy/xpfe/browser/resources/content/navigator.js