document.getAnonymousElementByAttribute(this, "anonid", "panel"); this.panel.firstChild; return this.content.contentWindow; return this.content.contentDocument; return Social._getProviderFromOrigin(this.getAttribute("origin")); this._isMarked = val; let provider = this.provider; // we cannot size the image when we apply it via listStyleImage, so // use the toolbar image if (val) this.setAttribute("image", provider.unmarkedIcon || provider.iconURL); else this.setAttribute("image", provider.markedIcon || provider.iconURL); return this._isMarked; { this.isMarked = isMarked; }); } this.setAttribute("label", provider.name); this.setAttribute("tooltiptext", provider.name); this.setAttribute("origin", provider.origin); this.panel.hidePopup(); this.panel.hidden = true; this.pageData = null; ]]> { this.update(); }); } }.bind(this); contentWindow.addEventListener("socialMarkUpdate", markUpdate); contentWindow.addEventListener("unload", function unload() { contentWindow.removeEventListener("unload", unload); contentWindow.removeEventListener("socialMarkUpdate", markUpdate); }); }, true); this._loading = true; this.setAttribute("src", endpoint); ]]>