All pastes #118492 Raw Edit

Browser binding

public xml v1 · immutable
·published 2006-08-06 12:29 UTC
rendered paste body
    <binding id="browser">        <content>            <xul:browser anonid="browser" flex="1" disablehistory="true" xbl:inherits="type,message,contextmenu,tooltip,autocompletepopup"/>        </content>        <implementation type="application/x-javascript">            <constructor>                <![CDATA[                this.m_browser = document.getAnonymousElementByAttribute(this, "anonid", "browser");                for (var item in this.m_browser) {                   dump(item + " => ");                   try {                   dump(this.m_browser[item]+"\n");                   } catch (err) {                   dump(err+"\n");                   }                }                ]]>            </constructor>            <property name="webNavigation"                      onget="return this.docShell.webNavigation;"                      readonly="true"/>            <property name="docShell"                      onget="return this.m_browser.docShell;"                      readonly="true"/>        </implementation>    </binding>