rem: var xfer = Components .classes[ "component: .getService( Components.interfaces.nsIStreamTransfer ); 
add: var xfer = this.getService( "component: "nsIStreamTransfer" ); 
context:     savePage : function ( 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 = Components                     .classes[ "component://netscape/appshell/component/xfer" ]                       .getService( Components.interfaces.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: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/d6ae32a82bf81c1df95377a9b9f946d20513166b/nsContextMenu.js/clean/xpfe/browser/resources/content/nsContextMenu.js