rem: function savePage( url ) {  if ( !url ) url = window.content.location.href;  var xfer = getService( "component: try {    xfer.SelectFileAndTransferLocationSpec( url, window ); } catch( exception ) {  dump( "SelectFileAndTransferLocationSpec failed, rv=" + exception + "\n" ); } return; } 
add: function savePage( url ) {  if ( !url ) { url = window.content.location.href; }  var xfer = Components .classes[ "component: .getService( Components.interfaces.nsIStreamTransfer ); try {     xfer.SelectFileAndTransferLocationSpec( url, window ); } catch( exception ) {  dump( "SelectFileAndTransferLocationSpec failed, rv=" + exception + "\n" ); } return; } 
context: function savePage( url ) {  // Default is to save current page.  if ( !url )    url = window.content.location.href;  // Use stream xfer component to prompt for destination and save.  var xfer = getService( "component://netscape/appshell/component/xfer", "nsIStreamTransfer" );  try {    // When Necko lands, we need to receive the real nsIChannel and    // do SelectFileAndTransferLocation!    // Use this for now...    xfer.SelectFileAndTransferLocationSpec( url, window );  }   catch( exception ) {    // Failed (or cancelled), give them another chance.    dump( "SelectFileAndTransferLocationSpec failed, rv=" + exception + "\n" );  }  return;}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/d018fa4b19f17d32d733b05d0c9a9718bc7657a3/navigator.js/clean/xpfe/browser/resources/content/navigator.js