context: function openWebPanel(aTitle, aURI){    // Ensure that the web panels sidebar is open.    toggleSidebar('viewWebPanelsSidebar', true);        // Set the title of the panel.    document.getElementById("sidebar-title").value = aTitle;        // Tell the Web Panels sidebar to load the bookmark.    var sidebar = document.getElementById("sidebar");    if (sidebar.docShell && sidebar.contentDocument && sidebar.contentDocument.getElementById('web-panels-browser')) {        sidebar.contentWindow.loadWebPanel(aURI);        if (gWebPanelURI) {            gWebPanelURI = "";            sidebar.removeEventListener("load", asyncOpenWebPanel, true);        }    }    else {        // The panel is still being constructed.  Attach an onload handler.        if (!gWebPanelURI)            sidebar.addEventListener("load", asyncOpenWebPanel, true);        gWebPanelURI = aURI;    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/2fb9feaadc992e3ccd442db789244b253d0427f8/browser.js/buggy/browser/base/content/browser.js