rem: scheme = IOService.extractScheme(resultUrl, {schemeStartPos:0}, {schemeEndPos:0}); 
add: scheme = IOService.extractScheme(resultUrl); 
context: function GetScheme(url){  var resultUrl = TrimString(url);  // Unsaved document URL has no acceptable scheme yet  if (!resultUrl || IsUrlAboutBlank(resultUrl))    return "";  if (/^internal-gopher-/.test(resultUrl))    return "internal-gopher-";  var IOService = GetIOService();  if (!IOService)    return "";  var scheme = "";  try {    // This fails if there's no scheme    scheme = IOService.extractScheme(resultUrl, {schemeStartPos:0}, {schemeEndPos:0});  } catch (e) {}  return scheme ? scheme.toLowerCase() : "";}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d86e3064ab35c88060d9d26578b243a0c34269ab/editorUtilities.js/clean/editor/ui/composer/content/editorUtilities.js