rem: var urlWidgetService = Components.classes["@mozilla.org/urlwidget;1"] .getService(Components.interfaces.nsIUrlWidget);     var url = _content.location.href; try { urlWidgetService.SetURLToHiddenControl(url, window); } catch(ex) { 
add: if (urlWidgetService) {    var url = _content.location.href; try { urlWidgetService.SetURLToHiddenControl(url, window); } catch(ex) { } 
context: function postURLToNativeWidget(){  var urlWidgetService = Components.classes["@mozilla.org/urlwidget;1"]                                   .getService(Components.interfaces.nsIUrlWidget);  // XXX This somehow causes a big leak, back to the old way  //     till we figure out why. See bug 61886.  // var url = getWebNavigation().currentURI.spec;  var url = _content.location.href;  try {    urlWidgetService.SetURLToHiddenControl(url, window);  } catch(ex) {  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/3508b1a3ca91e51bf3f8d373935aa1bc1a39a8d3/navigator.js/buggy/suite/browser/navigator.js