rem:  baseURL.spec = base;  
add:  baseURL.spec = doc.location.href;  var baseTags = doc.getElementsByTagName( "BASE" ); if ( baseTags && baseTags.length ) {  var href = baseTags[ baseTags.length - 1 ].getAttribute( "href" ); baseURL.spec = baseURL.resolve( href ); }  
context:     makeURLAbsolute : function ( base, url ) {        // Construct nsIURL.        var baseURL = this.createInstance( "@mozilla.org/network/standard-url;1", "nsIURL" );        // Initialize from base url.        baseURL.spec = base;        // Resolve        var result = baseURL.resolve( url );        return result;    },
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/aabc14b376413f02f2c21457e61bd7a661f83cac/nsContextMenu.js/clean/suite/common/nsContextMenu.js