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: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/85cae61cbb8fc1c06273f6b3a569012ecf45bda3/navigator.js/buggy/suite/browser/navigator.js