rem: var docUri = IOService.newURI(docUrl, null); 
add: var docUri = IOService.newURI(docUrl, null, null); 
context: function MakeAbsoluteUrl(url){  var resultUrl = TrimString(url);  if (!resultUrl)    return resultUrl;  // Check if URL is already absolute, i.e., it has a scheme  var urlScheme = GetScheme(resultUrl);  if (urlScheme)    return resultUrl;  var docUrl = GetDocumentBaseUrl();  var docScheme = GetScheme(docUrl);  // Can't relativize if no doc scheme (page hasn't been saved)  if (!docScheme)    return resultUrl;  var  IOService = GetIOService();  if (!IOService)    return resultUrl;    // Make a URI object to use its "resolve" method  var absoluteUrl = resultUrl;  var docUri = IOService.newURI(docUrl, null);  try {    absoluteUrl = docUri.resolve(resultUrl);    // This is deprecated and buggy!     // If used, we must make it a path for the parent directory (remove filename)    //absoluteUrl = IOService.resolveRelativePath(resultUrl, docUrl);  } catch (e) {}  return absoluteUrl;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/026dda9f95c7f7d4dce37efd9af20a1ffd4dfe0d/editorUtilities.js/buggy/editor/ui/composer/content/editorUtilities.js