rem: Components.interfaces.nsISupportsWString, str); 
add: Components.interfaces.nsISupportsString, str); 
context: function open(){  var url;  if (browser)    url = browser.getShortcutOrURI(dialog.input.value);  else    url = dialog.input.value;  try {    switch (dialog.openAppList.value) {      case "0":        browser.loadURI(url);        break;      case "1":        window.opener.delayedOpenWindow(getBrowserURL(), "all,dialog=no", url);        break;      case "2":        // editPage is in editorApplicationOverlay.js         // 3rd param tells editPage to use "delayedOpenWindow"        if ("editPage" in window.opener)          window.opener.editPage(url, window.opener, true);        break;      case "3":        if (browser.getBrowser && browser.getBrowser().localName == "tabbrowser")          browser.delayedOpenTab(url);        else          browser.loadURI(url); // Just do a normal load.        break;    }  }  catch(exception) {  }  if (pref) {    var str = Components.classes["@mozilla.org/supports-wstring;1"]                        .createInstance(Components.interfaces.nsISupportsWString);    str.data = dialog.input.value;    pref.setComplexValue("general.open_location.last_url",                         Components.interfaces.nsISupportsWString, str);    pref.setIntPref("general.open_location.last_window_choice", dialog.openAppList.value);  }  // Delay closing slightly to avoid timing bug on Linux.  window.close();  return false;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/7b7c50a42a2cacad818824d4f97f02a946c7d5db/openLocation.js/clean/suite/common/openLocation.js