rem: var privacyURL = prefb.getComplexValue(providerNum + ".privacy.url", Ci.nsISupportsString).data; 
add: var formatter = Cc["@mozilla.org/browser/URLFormatterService;1"]. getService(Ci.nsIURLFormatter); var privacyURL = formatter.formatURLPref("browser.safebrowsing.provider." + providerNum + ".privacy.url", null); var fallbackURL = formatter.formatURLPref("browser.safebrowsing.provider." + providerNum + ".privacy.fallbackurl", null); this._progressListener._providerFallbackURL = fallbackURL; 
context:   init: function ()  {    const Cc = Components.classes, Ci = Components.interfaces;    var providerNum = window.arguments[0].providerNum;    var phishBefore = document.getElementById("phishBefore");    var prefb = Cc["@mozilla.org/preferences-service;1"].                getService(Ci.nsIPrefService).                getBranch("browser.safebrowsing.provider.");    // init before-frame and after-frame strings    // note that description only wraps when the string is the element's    // *content* and *not* when it's the value attribute    var providerName = prefb.getComplexValue(providerNum + ".name", Ci.nsISupportsString).data    var strings = document.getElementById("bundle_phish");    phishBefore.textContent = strings.getFormattedString("phishBeforeText", [providerName]);    // guaranteed to be present, because only providers with privacy policies    // are displayed in the prefwindow    var privacyURL = prefb.getComplexValue(providerNum + ".privacy.url", Ci.nsISupportsString).data;    // add progress listener to enable OK, radios when page loads    var frame = document.getElementById("phishPolicyFrame");    var webProgress = frame.docShell                           .QueryInterface(Ci.nsIInterfaceRequestor)                           .getInterface(Ci.nsIWebProgress);    webProgress.addProgressListener(this._progressListener,                                    Ci.nsIWebProgress.NOTIFY_STATE_WINDOW);    this._webProgress = webProgress; // for easy use later    // start loading the privacyURL    const loadFlags = Ci.nsIWebNavigation.LOAD_FLAGS_NONE;    frame.webNavigation.loadURI(privacyURL, loadFlags, null, null, null);  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/eb01cb305887ca8fd9b928be442bf8481bda8fd0/phishEULA.js/buggy/browser/components/preferences/phishEULA.js