rem: var docShellElement = document.getElementById("content");  
context: function viewSource(url){  if (!url)    return false; // throw Components.results.NS_ERROR_FAILURE;  try {    appCore = Components.classes["@mozilla.org/appshell/component/browser/instance;1"]                        .createInstance(Components.interfaces.nsIBrowserInstance);    // Initialize browser instance..    appCore.setWebShellWindow(window);  } catch(ex) {    // Give up.    window.close();    return false;  }  var docShellElement = document.getElementById("content");  try {    if ("arguments" in window && window.arguments.length >= 2) {      if (window.arguments[1].indexOf('charset=') != -1) {        var arrayArgComponents = window.arguments[1].split('=');        if (arrayArgComponents) {          appCore.setDefaultCharacterSet(arrayArgComponents[1]); //XXXjag see bug 67442        }       }    }  } catch(ex) {  }  var loadFlags = Components.interfaces.nsIWebNavigation.LOAD_FLAGS_NONE;  var viewSrcUrl = "view-source:" + url;  docShellElement.webNavigation.loadURI(viewSrcUrl, loadFlags);  return true;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d06a250b8efeb300f41ce45999dec316f2fe4b5a/viewsource.js/clean/suite/browser/viewsource.js