Bug 943372 - Use the newer remote-browser webNavigation jsm in metrofx front end. r=mbrubeck

This commit is contained in:
Jim Mathies 2013-11-26 13:05:25 -06:00
parent 67a82f4cd5
commit 0c58029717

View File

@ -798,9 +798,19 @@
onget="return this._contentTitle;"
readonly="true"/>
<property name="webNavigation"
onget="return this._remoteWebNavigation;"
readonly="true"/>
<field name="_remoteWebNavigation">null</field>
<property name="webNavigation" readonly="true">
<getter>
<![CDATA[
if (!this._remoteWebNavigation) {
let jsm = "resource://gre/modules/RemoteWebNavigation.jsm";
let RemoteWebNavigation = Components.utils.import(jsm, {}).RemoteWebNavigation;
this._remoteWebNavigation = new RemoteWebNavigation(this);
}
return this._remoteWebNavigation;
]]>
</getter>
</property>
<property name="contentWindow"
readonly="true"