rem: var requestingWindowURI = Components.classes["@mozilla.org/network/standard-url;1"] .createInstance(Components.interfaces.nsIURI); requestingWindowURI.spec = aEvent.target.getAttribute("requestingWindowURI"); 
add: var requestingWindow = aEvent.target.getAttribute("requestingWindowURI"); var requestingWindowURI = Components.classes["@mozilla.org/network/io-service;1"] .getService(Components.interfaces.nsIIOService) .newURI(requestingWindow, null, null);  
context:   showBlockedPopup: function (aEvent)  {    var requestingWindowURI = Components.classes["@mozilla.org/network/standard-url;1"]                                        .createInstance(Components.interfaces.nsIURI);    requestingWindowURI.spec = aEvent.target.getAttribute("requestingWindowURI");    var popupWindowURI = aEvent.target.getAttribute("popupWindowURI");    var features = aEvent.target.getAttribute("popupWindowFeatures");        var shell = this._findChildShell(gBrowser.selectedBrowser.docShell,                                      requestingWindowURI);    if (shell) {      var ifr = shell.QueryInterface(Components.interfaces.nsIInterfaceRequestor);      var dwi = ifr.getInterface(Components.interfaces.nsIDOMWindowInternal);      // XXXben - nsIDOMPopupBlockedEvent needs to store target, too!      dwi.open(popupWindowURI, "", features);    }  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/1ba440ea0eec2fba44c3a7d090114779a2547119/browser.js/buggy/browser/base/content/browser.js