rem: if (aDocument) 
add: var isForcedCharset = false; if (aDocument) { 
context:   openInInternalViewer: function(aURL, aPageDescriptor, aDocument)  {    // try to open a view-source window while inheriting the charset (if any)    var charset = null;    if (aDocument)      charset = "charset=" + aDocument.characterSet;    openDialog("chrome://global/content/viewSource.xul",               "_blank",               "all,dialog=no",               aURL, charset, aPageDescriptor);  },
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/c905e05746f68c4b52aad98feabebb5b86771801/viewSourceUtils.js/buggy/toolkit/components/viewsource/content/viewSourceUtils.js