rem: if (fileurl != "" && fileurl != "about:blank") { window.openDialog("chrome: 
add: if (fileurl != "" && fileurl != "about:blank") { window.openDialog(getBrowserURL(), 
context: function EditorPreview(){  if (!editorShell.CheckAndSaveDocument(editorShell.GetString("BeforePreview")))    return;  fileurl = "";  try {    fileurl = window.content.location;  } catch (e) {    return;  }  // CheckAndSave doesn't tell us if the user said "Don't Save",  // so make sure we have a url:  if (fileurl != "" && fileurl != "about:blank")  {    window.openDialog("chrome://navigator/content/navigator.xul",                      "EditorPreview",                      "chrome,all,dialog=no",                      fileurl );  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/45273d5ee3a6e7854e77ba4b8e75ddfe0277f504/EditorCommands.js/buggy/editor/ui/composer/content/EditorCommands.js