rem: var entry = sessionHistory.getEntryAtIndex(sessionHistory.index, false); 
add: var entry = sessionHistory.getEntryAtIndex(sessionHistory.index, false).QueryInterface(Components.interfaces.nsISHEntry); 
context:     savePage : function ( url, doNotValidate ) {        var postData = null; // No post data, usually.        // Default is to save current page.        if ( !url ) {            url = window._content.location.href;            try {                var sessionHistory = getWebNavigation().sessionHistory;                var entry = sessionHistory.getEntryAtIndex(sessionHistory.index, false);                postData = entry.postData;            } catch(e) {            }        }        // Use stream xfer component to prompt for destination and save.        var xfer = this.getService( "@mozilla.org/appshell/component/xfer;1",                                    "nsIStreamTransfer" );        try {            xfer.SelectFileAndTransferLocationSpec( url, window, "", "", doNotValidate, postData );        } catch( exception ) {            // Failed (or cancelled), give them another chance.        }        return;    },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0e1b1dc5f331429a3a8049c8b4a6949d43e022f4/nsContextMenu.js/clean/xpfe/communicator/resources/content/nsContextMenu.js