rem: fileName = editorShell.GetLocalFileURL(window, "img"); 
add: fileName = GetLocalFileURL("img"); 
context: function chooseFile(){  // Get a local file, converted into URL format  fileName = editorShell.GetLocalFileURL(window, "img");  if (fileName && fileName != "")  {    dialog.BackgroundImage = fileName;    dialog.BackgroundImageInput.value = fileName;    dialog.BackgroundImageCheckbox.checked = true;    dialog.ColorPreview.setAttribute(backgroundStr, fileName);  }    // Put focus into the input field  dialog.BackgroundImageInput.focus();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0bbcf3b03721509c7074e339bdc9a9942e8b1357/EdColorProps.js/buggy/editor/ui/dialogs/content/EdColorProps.js