rem: if ("gBrowser" in window) { gBrowser.boxObject.setPropertyAsSupports("xulwindow", window); gBrowser.boxObject.setPropertyAsSupports("secureBrowserUI", securityUI); 
add: if ("gBrowser" in window) { gBrowser.boxObject.setPropertyAsSupports("xulwindow", window); gBrowser.boxObject.setPropertyAsSupports("secureBrowserUI", securityUI); }  var button = document.getElementById("security-button"); if (button && _content) securityUI.init(_content, button); 
context: function SetSecurityButton(){    var ui = Components.classes["@mozilla.org/secure_browser_ui;1"].createInstance();    securityUI = ui.QueryInterface(Components.interfaces.nsSecureBrowserUI);    if ("gBrowser" in window) { // XXXjag see bug 68662        gBrowser.boxObject.setPropertyAsSupports("xulwindow", window);        gBrowser.boxObject.setPropertyAsSupports("secureBrowserUI", securityUI);    }    var button  = document.getElementById('security-button');    if (button && window._content)        securityUI.init(window._content, button);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c5d74fa7e25b77e28c395ea61b9fd58f10d2c68c/securityUI.js/buggy/netwerk/resources/content/securityUI.js